Issue 532 in xmonad: _NET_WM_STATE_DEMANDS_ATTENTION support

Status: New Owner: ---- New issue 532 by maar...@de-vri.es: _NET_WM_STATE_DEMANDS_ATTENTION support http://code.google.com/p/xmonad/issues/detail?id=532 The _NET_WM_STATE_DEMANDS_ATTENTION atom is part of the EWMH specification and can be used to indicate that something happened in a window. It's apparently a somewhat weaker hint than the urgency flag of WM_HINTS, because EWMH say that windows expecting immediate attention should still use WM_HINTS. Either way, the current UrgencyHook doesn't respect _NET_WM_STATE_DEMANDS_ATTENTION. This impacts amongst others all Qt applications, since Qt only uses ..._DEMANDS_ATTENTION and never WM_HINTS. I patched UrgencyHook to also respect _NET_WM_STATE_DEMANDS_ATTENTION. I'm not much of a Haskell expert though, so I suggest someone takes a good look at it and point out what I did wrong. Attachments: ewmh_demands_attention.dpatch 7.9 KB

Comment #1 on issue 532 by hanswc...@gmail.com: _NET_WM_STATE_DEMANDS_ATTENTION support http://code.google.com/p/xmonad/issues/detail?id=532 Here's a related issue: http://code.google.com/p/xmonad/issues/detail?id=481&start=100

Updates: Status: Verified Comment #2 on issue 532 by vogt.a...@gmail.com: _NET_WM_STATE_DEMANDS_ATTENTION support http://code.google.com/p/xmonad/issues/detail?id=532 Thanks Maarten. I've pushed the patch as-is. Some things might be done with less code: dpy <- asks display instead of dpy <- withDisplay (\dpy -> return dpy) But I don't have any actual errors to point out. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings
participants (1)
-
codesite-noreply@google.com