summaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorrobreim <robreim@bobturf.org>2008-03-08 03:19:39 +0100
committerrobreim <robreim@bobturf.org>2008-03-08 03:19:39 +0100
commit42f7db43b12120e7b69b37425bd3d5bc02a480ac (patch)
treed070e89e72aee02ff5a2f29595bb376dcbb51d5a /XMonad
parentd6aa67a7a262231a56237e14607dd950dff7ccd0 (diff)
downloadmetatile-42f7db43b12120e7b69b37425bd3d5bc02a480ac.tar
metatile-42f7db43b12120e7b69b37425bd3d5bc02a480ac.zip
Small linecount fix :)
darcs-hash:20080308021939-d4c7e-a00752d8ed47b18ba1eb168e920d271885ecb86f
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Operations.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/XMonad/Operations.hs b/XMonad/Operations.hs
index 33368f4..e95593e 100644
--- a/XMonad/Operations.hs
+++ b/XMonad/Operations.hs
@@ -419,11 +419,10 @@ float :: Window -> X ()
float w = do
rr <- floatLocation w
windows $ \ws -> W.float w rr . fromMaybe ws $ do
- let sc = W.screen $ W.current ws
i <- W.findTag w ws
guard $ i `elem` map (W.tag . W.workspace) (W.screens ws)
f <- W.peek ws
- sw <- W.lookupWorkspace sc ws
+ sw <- W.lookupWorkspace (W.screen $ W.current ws) ws
return (W.focusWindow f . W.shiftWin sw w $ ws)
-- ---------------------------------------------------------------------