-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
floating vs floating should restack when moving focus. #1206
Comments
Also not just for floating windows, also for other (user created) layouts. It seems the names "Monocle" and "MainAndDeck" are hardcoded into:
It would be nice if this "restacking" could be done for floating windows, and for other templates. |
#1211 adds some restacking functionality for floating windows. Perhaps this should be user customizable. Right now, whenever a window takes focus it is moved to the top. Including windows in the layout. I find this is the most natural, as a I like to sometimes have floating windows underneath my main windows. Note that the other part of restacking windows in a Monocle or MainAndDeck layout does not happen automatically and still relies on the custom handling in the "handlers" part of leftwm-core. |
I don't think the current pr is a solution, because you can move floating windows behind tiled ones (and there is no easy way to get them back). Could you explain why you want floating windows behind your tiled ones? |
There is a way to get them back, using For example, one could have a floating terminal window spawned on top of a main text editor window. Then by using |
As far as I can tell, with this PR it behaves as I wanted it to, similarly to how DWM handles changes of focus with floating windows. Edit: I see now that perhaps the focus manager also needs to "know" about this change, otherwise it is only temporary. |
output.mp4 |
floating vs floating should indeed restack when moving focus.
When changing focus (say with modifier+k or modifier+j) between floating windows, they do not restack, which seems counter-intuitive to me
cf post by @VuiMuich in #1094 (comment)
The text was updated successfully, but these errors were encountered: