Merge pull request #618 from aartamonau/master

EwmhDesktops: Advertise _NET_WM_STATE_DEMANDS_ATTENTION.
This commit is contained in:
Tomáš Janoušek
2021-10-10 11:09:37 +02:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@@ -52,6 +52,11 @@
was changed to be closer to the spec. From now these two lists will have
differently sorted windows.
- `_NET_WM_STATE_DEMANDS_ATTENTION` was added to the list of supported
hints (as per `_NET_SUPPORTED`). This hint has long been understood by
`UrgencyHook`. This enables certain applications (e.g. kitty terminal
emulator) that check whether the hint is supported to use it.
* All modules still exporting a `defaultFoo` constructor
- All of these were now removed. You can use the re-exported `def` from

View File

@@ -390,6 +390,7 @@ setSupported = withDisplay $ \dpy -> do
r <- asks theRoot
a <- getAtom "_NET_SUPPORTED"
supp <- mapM getAtom ["_NET_WM_STATE_HIDDEN"
,"_NET_WM_STATE_DEMANDS_ATTENTION"
,"_NET_NUMBER_OF_DESKTOPS"
,"_NET_CLIENT_LIST"
,"_NET_CLIENT_LIST_STACKING"