Re: FVWM: Trouble with transient windows

2021-02-13 Thread Mandar Mitra
Thomas Adam wrote (Sat, Feb 13, 2021 at 03:38:16PM +):
> On Sat, Feb 13, 2021 at 08:22:16PM +0530, Mandar Mitra wrote:
> > I would like the transient windows to not affect focus at all. I looked at 
> > the manual page for the FPGrabFocusTransient, FPGrabFocusTransient,  
> > FPReleaseFocusTransient, and similar options, but I couldn't figure out 
> > what I need to do to get the behaviour I want.
> > 
> > Is this something that I can take care of within fvwm? Or should I ask the 
> > ipe developer about this?
> 
> I suppose you're referring to something like this:
> 
>   Style * RaiseTransient
>   Style * LowerTransient
>   Style * StackTransientParent

Probably not (as far as I can tell from the manpage).

At the moment, the only thing that I want is that transients should never get 
focus. Is that something I can control from fvwm, or does that need to be fixed 
in the respective applications?

If that's not possible, I would like a transient to release focus when it goes 
away. I thought FPReleaseFocus, FPReleaseFocusTransient and 
FPOverrideReleaseFocus controlled this behaviour, but I don't understand 
exactly how. I have

Style * MouseFocusClickRaises, GrabFocusTransientOff, !FPGrabFocusTransient, 
FPReleaseFocusTransient, FPOverrideReleaseFocus

but that's not giving me what I want.

-mandar



Re: FVWM: Trouble with transient windows

2021-02-13 Thread Thomas Adam
On Sat, Feb 13, 2021 at 08:22:16PM +0530, Mandar Mitra wrote:
> I would like the transient windows to not affect focus at all. I looked at 
> the manual page for the FPGrabFocusTransient, FPGrabFocusTransient,  
> FPReleaseFocusTransient, and similar options, but I couldn't figure out what 
> I need to do to get the behaviour I want.
> 
> Is this something that I can take care of within fvwm? Or should I ask the 
> ipe developer about this?

I suppose you're referring to something like this:

Style * RaiseTransient
Style * LowerTransient
Style * StackTransientParent

-- Thomas



FVWM: Alt-Tab and WindowList

2021-02-13 Thread Mandar Mitra
I have Alt-Tab bound as follows:

Key Tab A M WindowList (CurrentPage) 
CurrentAtEnd,IconifiedAtEnd,...,SelectOnRelease Alt_L

I'd like windows to be listed in most recently used order, and there are a 
number of fvwm related Web pages that state that is what "normally" happens, 
but what I'm observing is the following.

As long as I'm switching back and forth between Window A and Window B, things 
work well. I also have some other windows (all pdf viewers displaying different 
files) on the same page. If I take a look at one of them, I would expect A, B 
and the focused pdf viewer window to occupy the top 3 slots, but that's not 
what happens. Either A or B is positioned way down in the list.

I thought CurrentAtEnd might be messing up fvwm's sorting order, but this 
happens even without that option, and I can't make sense of the order in which 
windows are listed.

Can anyone offer any insights / workarounds please? Many thanks, as always!

-mandar



FVWM: Trouble with transient windows

2021-02-13 Thread Mandar Mitra
Hi,

I suppose I'm having trouble correctly understanding the options for transient 
windows. Here's the scenario in which I'd like fvwm to behave differently.

I have 3 windows on a page: emacs, a pdf viewer, and ipe (for drawing diagrams).

Ipe sometimes pops up a little window (only borders, no titlebar or buttons) 
that says "Waiting for external editor" (meaning emacs), and grabs focus.

I have to manually focus emacs before I can type anything. When I quit emacs, 
the above window goes away. Its place is taken by another "Compiling..." type 
window -- again, only borders, no titlebar, and this grabs focus for its brief 
lifetime. When it goes away (almost immediately), none of my windows has focus.

I would like the transient windows to not affect focus at all. I looked at the 
manual page for the FPGrabFocusTransient, FPGrabFocusTransient,  
FPReleaseFocusTransient, and similar options, but I couldn't figure out what I 
need to do to get the behaviour I want.

Is this something that I can take care of within fvwm? Or should I ask the ipe 
developer about this?

I'm using 2.6.7-3. Many thanks for any pointers!

-mandar