diff options
author | Brent Yorgey <byorgey@gmail.com> | 2008-03-27 00:19:28 +0100 |
---|---|---|
committer | Brent Yorgey <byorgey@gmail.com> | 2008-03-27 00:19:28 +0100 |
commit | 76334065c9298122b174914a73dcd536ac62c0e6 (patch) | |
tree | 225913cab109dc7df9e8715945955f89555672c6 | |
parent | c18aaaca0315f777fdc3d30c6f8fc33526deb55c (diff) | |
download | XMonadContrib-76334065c9298122b174914a73dcd536ac62c0e6.tar.gz XMonadContrib-76334065c9298122b174914a73dcd536ac62c0e6.tar.xz XMonadContrib-76334065c9298122b174914a73dcd536ac62c0e6.zip |
ManageDocks: add warning about making sure gaps are set to zero before switching to avoidStruts, since ToggleStruts won't work otherwise
darcs-hash:20080326231928-bd4d7-fa951c2d9b7a26187a9316842c6cca67a234fa01.gz
-rw-r--r-- | XMonad/Hooks/ManageDocks.hs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/XMonad/Hooks/ManageDocks.hs b/XMonad/Hooks/ManageDocks.hs index f1c1d54..60b1857 100644 --- a/XMonad/Hooks/ManageDocks.hs +++ b/XMonad/Hooks/ManageDocks.hs @@ -24,7 +24,6 @@ module XMonad.Hooks.ManageDocks ( ----------------------------------------------------------------------------- import XMonad import Foreign.C.Types (CLong) --- import Data.Maybe (catMaybes, fromMaybe) import Control.Monad import XMonad.Layout.LayoutModifier @@ -50,6 +49,13 @@ import XMonad.Layout.LayoutModifier -- -- > ,((modMask x, xK_b ), sendMessage ToggleStruts) -- +-- /Important note/: if you are switching from manual gaps +-- (defaultGaps in your config) to avoidStruts (recommended, since +-- manual gaps will probably be phased out soon), be sure to switch +-- off all your gaps (with mod-b) /before/ reloading your config with +-- avoidStruts! Toggling struts with a 'ToggleStruts' message will +-- not work unless your gaps are set to zero. +-- -- For detailed instructions on editing your key bindings, see -- "XMonad.Doc.Extending#Editing_key_bindings". |