summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Creighton <jcreigh@gmail.com>2007-03-18 03:48:25 +0100
committerJason Creighton <jcreigh@gmail.com>2007-03-18 03:48:25 +0100
commitc0b55070ee21f721ed3724faeba5df693208c14a (patch)
tree021307057514b228e5fe7b3bea79ae0e9d192ed6
parentaca8752d104f389c313cbaeb84a81917842229a9 (diff)
downloadmetatile-c0b55070ee21f721ed3724faeba5df693208c14a.tar
metatile-c0b55070ee21f721ed3724faeba5df693208c14a.zip
use "windows" in "unmanage"
darcs-hash:20070318024825-b9aa7-9e5a740f0616ef4da374c6116a26db15003c7e5a
-rw-r--r--Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index ab6caa3..d81d952 100644
--- a/Main.hs
+++ b/Main.hs
@@ -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)