Bogdan Sinitsyn c48d81e378 Fix caching issues in ManageDocks
Commits d638dc8b and a5e87e38 introduced a per-AvoidStruts-instance
strut cache that

a) didn't get initialized at startup,
b) didn't get reinitialized after layout reset and
c) didn't get updates if it wasn't the active layout, for example when
   layoutHook = avoidStruts tall ||| avoidStruts (mirror tall)

a) + b) could be fixed by using the docksStartupHook introduced in
28e9f8bc, although this wasn't documented and having to call
docksStartupHook after setLayout is far from obvious.

By moving the strut cache from AvoidStruts instances to a global state,
b) and c) are fixed. One still has to invoke the docksStartupHook for
a), and this will be addressed in the next commit.
2016-09-07 13:26:50 +03:00
2011-04-13 05:30:02 +00:00
2016-09-07 13:26:50 +03:00
2015-08-22 14:01:56 -04:00
2016-06-30 15:33:15 -04:00
2007-11-01 20:20:41 +00:00
2016-06-30 15:33:15 -04:00

xmonad-contrib: Third Party Extensions to the xmonad Window Manager

You need the ghc compiler and xmonad window manager installed in order to use these extensions.

For installation and configuration instructions, please see the [xmonad website] xmonad, the documents included with the [xmonad source distribution] xmonad-git, and the [online haddock documentation] xmonad-docs.

Getting or Updating XMonadContrib

(To use git xmonad-contrib you must also use the [git version of xmonad] xmonad-git.)

Contributing

Haskell code contributed to this repo should live under the appropriate subdivision of the XMonad namespace (currently includes Actions, Config, Hooks, Layout, Prompt, and Util). For example, to use the Grid layout, one would import:

XMonad.Layout.Grid

For further details, see the [documentation] developing for the XMonad.Doc.Developing module and the [xmonad website] xmonad.

License

Code submitted to the contrib repo is licensed under the same license as xmonad itself, with copyright held by the authors.

Description
Languages
Haskell 99.6%
C 0.2%
Shell 0.1%