From dad05153b2268d2df6c9160f5142604458d9741e Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Tue, 11 Dec 2007 08:48:10 +0100 Subject: 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. darcs-hash:20071211074810-a5988-47be5e16650bf0c0ad5d0e638d03753a78958fd6.gz --- XMonad/Operations.hs | 1 - 1 file changed, 1 deletion(-) (limited to 'XMonad/Operations.hs') diff --git a/XMonad/Operations.hs b/XMonad/Operations.hs index f13e2ca..5e87f32 100644 --- a/XMonad/Operations.hs +++ b/XMonad/Operations.hs @@ -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. -- cgit v1.2.3