mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
Decoration windows are created using XMonad.Util.XUtils.createNewWindow which happens to set _NET_WM_WINDOW_TYPE to _NET_WM_WINDOW_TYPE_DESKTOP, and ManageDocks considers such windows candidates for struts and therefore requests property events, thus overriding the original event mask requested by decorations. The fix is to first obtain the current event mask, set the required bits in it only then reset the mask. Fixes: https://github.com/xmonad/xmonad-contrib/issues/517 Fixes: ec146171238b ("X.H.ManageDocks: React to strut updates of override_redirect docks") Related: https://github.com/xmonad/X11/pull/77