use "windows" in "unmanage"

This commit is contained in:
Jason Creighton
2007-03-18 02:48:25 +00:00
parent 48974f51e6
commit 7d7f0ca721

View File

@@ -269,7 +269,7 @@ manage w = do
-- list, on whatever workspace it is.
unmanage :: Window -> X ()
unmanage w = do
modify $ \s -> s { workspace = W.delete w (workspace s) }
windows $ W.delete w
withServerX $ do
setTopFocus
withDisplay $ \d -> io (sync d False)