summaryrefslogtreecommitdiffstats
path: root/Operations.hs
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2007-06-12 08:05:46 +0200
committerStefan O'Rear <stefanor@cox.net>2007-06-12 08:05:46 +0200
commit862973856e142a4a39ab44ea6075c0bf38034cf8 (patch)
tree821ad8f1e13843a65ddd826da8a494acaaa387df /Operations.hs
parent021a11795a9559370e43d00e88603d30ba1a19fa (diff)
downloadmetatile-862973856e142a4a39ab44ea6075c0bf38034cf8.tar
metatile-862973856e142a4a39ab44ea6075c0bf38034cf8.zip
-Wall police
darcs-hash:20070612060546-e3110-2fd1f5c7dbcadaa4791b60158d261f2c7a10995b
Diffstat (limited to 'Operations.hs')
-rw-r--r--Operations.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Operations.hs b/Operations.hs
index b0819f6..cc274ce 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -143,7 +143,7 @@ windows f = do
visible <- fmap concat $ forM (W.current ws : W.visible ws) $ \w -> do
let n = W.tag (W.workspace w)
this = W.view n ws
- Just (l,ls) = M.lookup n fls
+ Just l = fmap fst $ M.lookup n fls
flt = filter (flip M.member (W.floating ws)) (W.index this)
tiled = W.filter (not . flip M.member (W.floating ws)) . W.stack . W.workspace . W.current $ this
(Rectangle sx sy sw sh) = genericIndex xinesc (W.screen w)