Do not set urgency if windows is focused

Renato Botelho garga at FreeBSD.org
Thu Dec 31 20:26:56 CET 2015


> On Dec 31, 2015, at 15:12, Marc Lehmann <schmorp at schmorp.de> wrote:
> 
> On Wed, Dec 30, 2015 at 09:41:18AM -0200, Renato Botelho <garga at FreeBSD.org> wrote:
>> Recently I back to use FreeBSD as my primary desktop and noted something
>> that was annoying me, urxvt was setting urgency hint even if windows is
>> focused.
> 
> And why is it annoying you? Setting the urgency hint itself has no
> consequences whatsoever, so it's hard to imagine why that would annoy you.
> 
>> group conversation, weechat send a bell and urxvt, that has urgentOnBell
>> set to true, set urgency hint so I can be notified about it. But, when
>> I'm having a private conversation with someone, it keeps setting urgency
>> on evey single message comes.
> 
> That's what you configured and should happen, no? You haven't mentioned why
> it is annoying, though.
> 
>> After dig a little bit I've found this patch [1] on gentoo portage and I
>> would like to check here if you believe this is an acceptable change.
> 
> No, if you search the list archives, you can find previous discussions
> about it - setting the urgency hint is correct in this case, and whatever
> is annoying you is not urxvt, but something else (such as your window
> manager behaviour). Without knowing what annoys you it's hard to tell, of
> course, but if it is indeed your wm or some other software that annoys
> you, you should report this to the respective software so they cna fix
> their annoying behaviour.

Sorry, let me describe it better. I’m using KDE 4, and if focus is on urxvt window and it’s set as urgent, after I leave it, taskbar blinks and notifies me about the message I received when it was focused. I hope I was clear enough, sometimes it’s hard to explain in english for me :)

In this case Kwin should ignore the urgency hint set while window was focused, that is it?

--
Renato Botelho




More information about the rxvt-unicode mailing list