Clean up stale mapped/waitingUnmap state in handle rather than unmanage.

This is an attempt to fix issue #96.  Thanks to jcreigh for the insights
necessary to fix the bug.
This commit is contained in:
Spencer Janssen
2007-12-11 07:48:10 +00:00
parent 287d364e0d
commit f427c2b0e9
2 changed files with 4 additions and 2 deletions

View File

@@ -77,7 +77,6 @@ unmanage :: Window -> X ()
unmanage w = do
windows (W.delete w)
setWMState w withdrawnState
modify (\s -> s {mapped = S.delete w (mapped s), waitingUnmap = M.delete w (waitingUnmap s)})
-- | Modify the size of the status gap at the top of the current screen
-- Taking a function giving the current screen, and current geometry.