Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
X.H.ManageDocks: Fix button events on decoration windows
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: xmonad#517 Fixes: ec14617 ("X.H.ManageDocks: React to strut updates of override_redirect docks") Related: xmonad/X11#77
- Loading branch information