FVWM: Creating an UrgencyFunc that de-iconifies a window and keeps focus

2012-09-13 Thread Adam Sjøgren
Usually I have my Pidgin window iconified. I have configured Pidgin to set the URGENT hint when a new message arrives. I would like the window to be de-iconified when that happens. My first attempt to write an UrgencyFunc to achieve this was: DestroyFunc UrgencyFunc AddToFunc UrgencyFunc +

Re: FVWM: Creating an UrgencyFunc that de-iconifies a window and keeps focus

2012-09-13 Thread Thomas Adam
On 13 September 2012 12:47, Adam Sjøgren wrote: > Usually I have my Pidgin window iconified. I have configured Pidgin to > set the URGENT hint when a new message arrives. I would like the window > to be de-iconified when that happens. In addition to the UrgencyFunc function, what have you defined

Re: FVWM: Creating an UrgencyFunc that de-iconifies a window and keeps focus

2012-09-13 Thread Adam Sjøgren
On Thu, 13 Sep 2012 13:56:38 +0100, Thomas wrote: > On 13 September 2012 12:47, Adam Sjøgren wrote: >> Usually I have my Pidgin window iconified. I have configured Pidgin to >> set the URGENT hint when a new message arrives. I would like the window >> to be de-iconified when that happens. > In

Re: FVWM: Creating an UrgencyFunc that de-iconifies a window and keeps focus

2012-09-13 Thread Reid Priedhorsky
On 09/13/2012 05:47 AM, Adam Sjøgren wrote: > Usually I have my Pidgin window iconified. I have configured Pidgin to set the URGENT hint when a new message arrives. I would like the window to be de-iconified when that happens. I've had exactly the same problem with Pidgin. I have the following:

Re: FVWM: Creating an UrgencyFunc that de-iconifies a window and keeps focus

2012-09-13 Thread Adam Sjøgren
On Thu, 13 Sep 2012 09:31:34 -0600, Reid wrote: > I've had exactly the same problem with Pidgin. I have the following: > Style "*" SloppyFocus, !FPFocusByProgram I use SloppyFocus, but not "!FPFocusByProgram". > DestroyFunc UrgencyFunc > AddToFunc UrgencyFunc > + I Iconify off > + I

Re: FVWM: Creating an UrgencyFunc that de-iconifies a window and keeps focus

2012-09-19 Thread Adam Sjøgren
Just a quick follow up on this challenge I wrote about last week: On Thu, 13 Sep 2012 13:47:34 +0200, Adam wrote: > DestroyFunc UrgencyFunc > AddToFunc UrgencyFunc >+ I Iconify off > This works, but has the drawback that the de-iconified window gains > focus - which I do not want After