On Mon, 18 Sep 2006, Ralf Fassel wrote:

* Thomas Adam
| > Look att UrgencyFunc in the manpage. It might be that firefox
| > (incorrectly) use the urgency hint when a new tab is opened.  In
| > that case Destroying UrgencyFunc should stop the behavior, but you
| > might want to redefine it in some other way to maybe just ignore
| > firefox.
|
| Nope, it's certainly not that.  I can't even reproduce this, and I
| have the same version of Firefox as listed.  The only thing I can
| think of is if something like FvwmEvent (perhaps listening on
| 'visible_name') is somehow causing it.

It's EWMHActivateWindowFunc.


That was my second guess ;-)

The default seems to be in fvwm/ConfigFvwmDefaults:

   # Needed by the ewmh support
   AddToFunc EWMHActivateWindowFunc
   + I Iconify off
   + I Focus
   + I Raise

Victors message has set me up the right path to check with the
sources, and in the default configuration files I found this function
and just removed it: no more switching the desktop when firefox gets
called.
I'll try w/o EWMHActivateWindowFunc and see what else breaks :-)

Q: how would I write something like
 if application != firefox then
   ... original code
 endif
in EWMHActivateWindowFunc?

I guess it would be something along the lines of
  Current ("Firefox") Break
but I don't want the current window, but the one which initiated the
call.


You will want the ThisWindow function inplace of Current.

/Viktor

Reply via email to