diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-10-02 19:47:22 +0200 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-10-02 19:47:22 +0200 |
commit | 34bd103d9a052043400625bd8e6edc4125a6eab9 (patch) | |
tree | a018ee7f7dea4a39c5c4813bc347de99b106b57b | |
parent | 51b5f15f9c473b885afd4bdcc05db08075d8cd75 (diff) | |
download | metatile-34bd103d9a052043400625bd8e6edc4125a6eab9.tar metatile-34bd103d9a052043400625bd8e6edc4125a6eab9.zip |
Automatically float MPlayer windows
darcs-hash:20071002174722-a5988-f38377d6cb1338e6861d6cc2ef2b986ca39fdbaf
-rw-r--r-- | Config.hs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |