2010/3/4 - Tethys <tet...@gmail.com>:
> Is it possible to have different behaviours for handing urgency hints
> depending on the application that set the hint? For example, I might want
> my instant messanger to do one thing, and my web browser to do something
> different. Specifically, firefox is raising itself to the top of the
> window stack every so often, which is *really* annoying. I'm assuming
> (although I haven't verified it) that this is because of an urgency
> hint. Currently, I can configure UrgencyFunc to do what I want when the
> hint is set, but it seems to be on a global level. Ideally, I'd want to
> be able to do:
>
>        Style Pidgin UrgencyFunc IMUrgencyFunc
>        Style Xchat UrgencyFunc IMUrgencyFunc
>        Style Firefox UrgencyFunc BrowserUrgencyFunc
>
> or something along those lines. Any ideas?

You may use ThisWindow in UrgencyFunc to achieve this. It will work as
long as you don't need it to not even try to run a function for some
applications (because there is a grab from that application, so that
fvwm can't grab the pointer as needed to run a function.

/Viktor

Reply via email to