FVWM: WindowList order across multiple desktops
I have the following in my .fvwmrc file for Alt-Tab switching behavior. Key Tab A M WindowList Root c c CurrentAtEnd,NoDeskSort I'd like Alt-Tab to switch focus between the 2 most recently focused windows regardless of the desktop on which they reside. This works as long as I remain on a single desktop. I have 2 windows on desktop 1 (window-a, window-b) and one window on desktop 2 (window-c) I can't seem to get the behavior such that alt-tab will toggle focus between window-b and window-c. Once focus is switched back to a desktop with more than 1 window the window list is adjusted such that focus toggling is reset to the more recently focused windows on that desktop. Fvwm version: 2.6.5 SloppyFocus is applied to all windows. I have not overridden WindowListFunc. How can I get "standard" alt-tab behavior to work for windows across all desktops? Thanks, Wayne
Re: FVWM: WindowList order across multiple desktops
On 19 December 2015 at 22:26, wrote: > back to a desktop with more than 1 window the window list is adjusted > such that focus toggling is reset to the more recently focused windows > on that desktop. So you can either look at: FPSortWindowlistByFocus Or, for your WindowListFunc, don't use FlipFocus (which reorders the window list), and instead use 'Focus' which does not. The man page has the default definition for WindowListFuncm should you need it. Merry Christmas. -- Thomas Adam
Re: FVWM: WindowList order across multiple desktops
Thank you for the reply Thomas. I had already tried to use Focus vs FlipFocus in WindowListFunc before posting to the list. I didn't notice the FPSortWindowlistByFocus style though. However after testing it, it still doesn't work. The last thing I tried was to use ClickToFocus vs SloppyFocus and that works as expected. However I really like SloppyFocus so I'd prefer to get it working like that if it's possible. Thanks again, Wayne On Sat, Dec 19, 2015 at 10:38:50PM +, Thomas Adam wrote: > On 19 December 2015 at 22:26, wrote: > > back to a desktop with more than 1 window the window list is adjusted > > such that focus toggling is reset to the more recently focused windows > > on that desktop. > > So you can either look at: > > FPSortWindowlistByFocus > > Or, for your WindowListFunc, don't use FlipFocus (which reorders the > window list), and instead use 'Focus' which does not. The man page > has the default definition for WindowListFuncm should you need it. > > Merry Christmas. > > -- Thomas Adam >
Re: FVWM: WindowList order across multiple desktops
On 19 December 2015 at 23:02, wrote: > However after testing it, it still doesn't work. It works fine for me. Thomas
Re: FVWM: WindowList order across multiple desktops
On Sat, Dec 19, 2015 at 11:14:54PM +, Thomas Adam wrote: > On 19 December 2015 at 23:02, wrote: > > However after testing it, it still doesn't work. > > It works fine for me. > > Thomas > Are you using Version 2.6.5 or something newer? Are you testing the specific switching behavior that I'm seeking, alt-tab switching between windows on different desktops? Within a single desktop it definitely works for me. A few of the Fvwm* styles were set to ClickToFocus in the fvwmrc that I started with so I removed those styles just in case they might have been causing issues but that didn't fix it either. I could post my fvwmrc file if you'd be willing to test with it or perhaps examine it for what I might be missing if you think that would help. Thanks, Wayne