Newbie Focus Question

XMonad Enthusiasts, If one has one or more fillscreen window(s) on a screen and one or more floating window(s) on a screen and is using <mod1> Tab, or <mod1> j and <mod1> k to cycle focus between the windows, is there a way to have each window moved to the top when it receives focus. When I do so if I, for example, have a floating window and a fullcreen window and the floating window is in front of the full screen window when I hit <mod1> Tab, the focus switches to the fullscreen window, but the floating window stays in front of it so I can't see all of the fullscreen window. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!!

Kevin:
XMonad Enthusiasts,
If one has one or more fillscreen window(s) on a screen and one or more floating window(s) on a screen and is using <mod1> Tab, or <mod1> j and <mod1> k to cycle focus between the windows, is there a way to have each window moved to the top when it receives focus. When I do so if I, for example, have a floating window and a fullcreen window and the floating window is in front of the full screen window when I hit <mod1> Tab, the focus switches to the fullscreen window, but the floating window stays in front of it so I can't see all of the fullscreen window.
This is a flaw in the current fullscreen tiling model. It currently doesn't track focus in the tile and floating layers separately, so you see these "reordering" effects when using floating and fullscreen layouts. http://code.google.com/p/xmonad/issues/detail?id=4 The initial solution turned out to be too complicated, and its rare enough that we somehow haven't gotten around to attacking it again. -- Don

On Tue, 2008/05/27 17:45:52 -0500, Kevin Monceaux wrote:
If one has one or more fillscreen window(s) on a screen and one or more floating window(s) on a screen and is using <mod1> Tab, or <mod1> j and <mod1> k to cycle focus between the windows, is there a way to have each window moved to the top when it receives focus.
As a manual solution, press Mod+Enter to bring a window to the front. Mod+Shift+{J,K} will reorder windows, also. You could append “ >> windows W.swapMaster” to the Mod+{Tab,J,K} bindings in your config, as well.

lithis wrote:
On Tue, 2008/05/27 17:45:52 -0500, Kevin Monceaux wrote:
If one has one or more fillscreen window(s) on a screen and one or more floating window(s) on a screen and is using <mod1> Tab, or <mod1> j and <mod1> k to cycle focus between the windows, is there a way to have each window moved to the top when it receives focus.
As a manual solution, press Mod+Enter to bring a window to the front. Mod+Shift+{J,K} will reorder windows, also. You could append “ >> windows W.swapMaster” to the Mod+{Tab,J,K} bindings in your config, as well.
Correct me if I'm wrong, but I think this user's issue is that the floating window stays above the tiled full screen window, which, as far as I know is always true of floating windows, and so it won't be helped by reordering the windows. I don't see any reasonable way around this, other than to send the floating window to another workspace.
participants (4)
-
Don Stewart
-
Justin Bogner
-
Kevin Monceaux
-
lithis