diff options
author | Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de> | 2010-07-28 00:48:41 +0200 |
---|---|---|
committer | Jan Vornberger <jan.vornberger@informatik.uni-oldenburg.de> | 2010-07-28 00:48:41 +0200 |
commit | ab0d160ac877c9719dd8112e6f06312f3cd69d6c (patch) | |
tree | b3e9b26a52f7a1981645090e4f72eea340a9cff9 /XMonad/Config | |
parent | 5217c7c613b3559c65db9de11aec1b744df062cb (diff) | |
download | XMonadContrib-ab0d160ac877c9719dd8112e6f06312f3cd69d6c.tar.gz XMonadContrib-ab0d160ac877c9719dd8112e6f06312f3cd69d6c.tar.xz XMonadContrib-ab0d160ac877c9719dd8112e6f06312f3cd69d6c.zip |
Minimize: Replaced calls to 'sendMessage' (BW.focusDown) and 'windows' with alternative methods
Ignore-this: 67257480b7b93181967a806fedf6fbc5
Calling these functions during message handling results in the loss of layout state.
This fixes a number of bugs related to the combination of X.L.Minimize with a decoration.
darcs-hash:20100727224841-594c5-c8ddec3ae634ec96103e332433066b5173a0002a.gz
Diffstat (limited to 'XMonad/Config')
-rw-r--r-- | XMonad/Config/Bluetile.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Config/Bluetile.hs b/XMonad/Config/Bluetile.hs index 10b0f45..d80e70c 100644 --- a/XMonad/Config/Bluetile.hs +++ b/XMonad/Config/Bluetile.hs @@ -141,7 +141,7 @@ bluetileKeys conf@(XConfig {XMonad.modMask = modMask'}) = M.fromList $ , ((modMask' , xK_z), withFocused (sendMessage . maximizeRestore)) -- Minimizing - , ((modMask', xK_m ), withFocused (\f -> sendMessage (MinimizeWin f))) + , ((modMask', xK_m ), withFocused minimizeWindow) , ((modMask' .|. shiftMask, xK_m ), sendMessage RestoreNextMinimizedWin) ] ++ |