Personal tools

Xmonad/Notable changes since 0.12

From HaskellWiki

Jump to: navigation, 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.

1 non-breaking changes

(to come)

2 breaking changes

2.1 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.