On Sat, Jun 19, 2010 at 11:42:15PM +0200, Uli Schlachter wrote:
a friend made me write the attached patch. It adds support for EWMH's
_NET_WM_DEMANDS_ATTENTION status by transfering it into ICCCM's urgency hint.

I hope this is useful for others and perhaps this might even get included in the
main repository. I know this is not perfect, but the code for _NET_WM_FULLSCREEN
wasn't much worse than this. ;)

Why not just set c->isurgent rather than actually changing the wmhints? Apart from being needlessly complicated and probably pointless, it's directly contrary to ICCCM ยง4.1.2. The window manager isn't allowed to change client properties.

--
Kris Maglione

It has been said that the great scientific disciplines are examples of
giants standing on the shoulders of other giants.  It has also been
said that the software industry is an example of midgets standing on
the toes of other midgets.
        --Alan Cooper


Reply via email to