summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Config.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Config.hs b/Config.hs
index 0979ab2..a4dec5e 100644
--- a/Config.hs
+++ b/Config.hs
@@ -69,6 +69,8 @@ manageHook :: Window -> (String, String, String) -> X (WindowSet -> WindowSet)
-- Don't manage Gnome's panel or KDE's kicker:
manageHook w (_, "gnome-panel", _) = reveal w >> return (W.delete w)
manageHook w (_, "kicker", _) = reveal w >> return (W.delete w)
+-- Float mplayer windows:
+manageHook w (_, _, "MPlayer") = do (_, rr) <- floatLocation w; return (W.float w rr)
-- The default rule, do not edit this line.
manageHook _ _ = return id