UrgencyHint set also when client has focus

Paride Legovini legovini at spiro.fisica.unipd.it
Wed Feb 25 19:14:00 CET 2009


rxvt-unicode sets the UrgencyHint even when it has the focus. I think 
this is wrong for several reasons, e.g.:

- annoyance: when using urgentOnBell the urgency hint is set every now;
- compliance to the de facto standard: other terminals, like xterm, does 
not set the urgency hint when focused;
- common sense: there's no need to set the urgency hint if the focus is 
already there;
- standard compliance: I can't assure that EWMH/ICCCM recommends not to 
set the urgency hint when focused, but I'm sure they do *not* recommend 
to do so;
- how is the user supposed to cancel the urgency hint? By clicking on 
the window? Not good, we don't want to force the user to move the 
fingers away from the keyboard. By unfocusing and then focusing the 
terminal again? Even worse.

A patch that prevents the urgency hint to be set when rxvt-unicode has 
the focus is included in many popular distributions, like Debian and 
Ubuntu and derivatives. The patch is trivial, see

http://patch-tracking.debian.net/patch/misc/view/rxvt-unicode/9.06-1/src/screen.C

and I think should be included in the mainstream source code.

p.




More information about the rxvt-unicode mailing list