summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Config.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Config.hs b/Config.hs
index 4b4490b..ba4b70c 100644
--- a/Config.hs
+++ b/Config.hs
@@ -67,7 +67,7 @@ defaultGaps = [(0,0,0,0)] -- 15 for default dzen
manageHook :: Window -> (String, String, String) -> X (WindowSet -> WindowSet)
-- Float various windows:
-manageHook w (_, _, c) | c `elem` floats = do (_, rr) <- floatLocation w; return (W.float w rr)
+manageHook w (_, _, c) | c `elem` floats = fmap (W.float w . snd) (floatLocation w)
where floats = ["MPlayer", "Gimp"]
-- Don't manage various panels and desktop windows: