Xmonad/Notable changes since 0.12

From HaskellWiki
< Xmonad
Revision as of 21:55, 15 June 2017 by Allbery b (talk | contribs) (um? thought I put the state file bug in 0.13 where it belongs)
Jump to navigation Jump to search

This page is for keeping a record of significant changes in git xmonad and xmonad-contrib since the 0.12 releases (Dec 18, 2015). See git log in the source repositories for the patches and more details covering documentation and bug fixes not noted here.

non-breaking changes

(to come)

breaking changes

ManageDocks changes

The XMonad.Hooks.ManageDocks strut cache, introduced (buggily) in 0.12, has been rewritten. The current version requires, in addition to docksEventHook which became required in 0.12), addition of docksStartupHook to initialize the strut cache from existing windows.

A new docks combinator was also added; it adds all of the hooks needed to a config. This is now the preferred way to use ManageDocks, as it can be kept up to date with any new hooks that might be added in the future without requiring user config changes.

There is still a bug in the new strut code, insofar as it only detects struts on windows with the EWMH NET_WM_WINDOW_TYPE_DOCK window type (there is code to handle other windows, but it does not appear to be being used). Notably, this means that if you use dzen, you will need to add the -dock parameter for struts to work.