Re: FVWM: how to prevent involuntary page switching?

2018-04-25 Thread Michelle Konzack
Am DATE hackte AUTHOR in die Tasten: hw
> Hi,
>
> how can I prevent fvwm from automatically switching to the desktop
> page
> where an application like gajim receives a message and activates a
> window (or whatever it does to force this switch)?

Deactivate the behaviour in the settings...

> As you can imagine, it´s very annoying when you´re suddenly switched
> to
> a different program residing on a different page, especially while
> you´re typing somewhere else.


-- 
Michelle KonzackMiila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400




Re: FVWM: how to prevent involuntary page switching?

2018-04-25 Thread Robert Brockway

On Thu, 26 Apr 2018, Robert Brockway wrote:


On Thu, 26 Apr 2018, hw wrote:


Hi,

how can I prevent fvwm from automatically switching to the desktop page
where an application like gajim receives a message and activates a
window (or whatever it does to force this switch)?

As you can imagine, it?s very annoying when you?re suddenly switched to
a different program residing on a different page, especially while
you?re typing somewhere else.


Years ago I added this to my config to solve this problem:

DestroyFunc EWMHActivateWindowFunc
Style * !FPFocusByProgram


Sorry to follow-up to myself.   Looks like I'm also using:

DestroyFunc UrgencyFunc

Rob



Re: FVWM: how to prevent involuntary page switching?

2018-04-25 Thread Robert Brockway

On Thu, 26 Apr 2018, hw wrote:


Hi,

how can I prevent fvwm from automatically switching to the desktop page
where an application like gajim receives a message and activates a
window (or whatever it does to force this switch)?

As you can imagine, it?s very annoying when you?re suddenly switched to
a different program residing on a different page, especially while
you?re typing somewhere else.


Years ago I added this to my config to solve this problem:

DestroyFunc EWMHActivateWindowFunc
Style * !FPFocusByProgram

More recently the 2nd line caused problems with Java keyboard focus so I 
commented it out.  The DestroyFunc alone seems to be working fine.


Rob



Re: FVWM: how to prevent involuntary page switching?

2018-04-25 Thread Jaimos Skriletz
On Wed, Apr 25, 2018 at 5:41 PM, hw  wrote:
> Hi,
>
> how can I prevent fvwm from automatically switching to the desktop page
> where an application like gajim receives a message and activates a
> window (or whatever it does to force this switch)?
>

It depends on what is causing the switch. This sounds like a window is
setting an UrgencyHint or something similar, and the default in fvwm
is to honor the windows hint and give it focus when it requests it.

Here is some tips on Focus Stealing and ways to deal with them. The
actual solution depends on what the app in question is actually doing.

http://fvwmforums.org/wiki/Tips/FocusStealing/

jaimos



FVWM: how to prevent involuntary page switching?

2018-04-25 Thread hw
Hi,

how can I prevent fvwm from automatically switching to the desktop page
where an application like gajim receives a message and activates a
window (or whatever it does to force this switch)?

As you can imagine, it´s very annoying when you´re suddenly switched to
a different program residing on a different page, especially while
you´re typing somewhere else.