summaryrefslogtreecommitdiffstats
path: root/Config.hs
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-10-03 18:13:05 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-10-03 18:13:05 +0200
commit9a456c35ead562720fe8e92c90ac72be3a303e66 (patch)
treef33ab6e15546daea2075d3c8443650d61863409f /Config.hs
parent9e7c59445f4e2bd67b2d13a7b6472b9dc406c1b2 (diff)
downloadmetatile-9a456c35ead562720fe8e92c90ac72be3a303e66.tar
metatile-9a456c35ead562720fe8e92c90ac72be3a303e66.zip
Float Gimp too
darcs-hash:20071003161305-a5988-02dfb79c0d217f0c0426a9999540aff5f970e4c6
Diffstat (limited to 'Config.hs')
-rw-r--r--Config.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Config.hs b/Config.hs
index 7f99def..c786ad5 100644
--- a/Config.hs
+++ b/Config.hs
@@ -67,8 +67,9 @@ defaultGaps = [(0,0,0,0)] -- 15 for default dzen
-- managing a new window.
manageHook :: Window -> (String, String, String) -> X (WindowSet -> WindowSet)
--- Float mplayer windows:
-manageHook w (_, _, "MPlayer") = do (_, rr) <- floatLocation w; return (W.float w rr)
+-- Float various windows:
+manageHook w (_, _, c) | c `elem` floats = do (_, rr) <- floatLocation w; return (W.float w rr)
+ where floats = ["MPlayer", "Gimp"]
-- Don't manage various panels and desktop windows:
manageHook w (_, c, _) | c `elem` ignore = reveal w >> return (W.delete w)