Workspace moving behaviour across multiple screens #809

Closed
i3bot opened this Issue Sep 18, 2012 · 3 comments

Projects

None yet

2 participants

i3bot commented Sep 18, 2012

[Originally reported by iiiuser]
(When moving windows across multiple screens by "move workspace x", the focus follows the window. This behaviour is different to moving workspaces which are located on a single monitor because the focus stays on the current workspace.

My attached config has different bindsyms for moving windows across workspaces and following them (Super + Shift + WorkspaceNumber) and for moving windows without following them (Super + CTRL + WorkspaceNumber). Across multiple screens they work exactly the other way round because I enabled "workspace_auto_back_and_forth".

I already described this issue in a question of the FAQ.

It would be nice if i3 handles the moving of windows to workspaces on different monitors like moving windows on a single one.

Thank you for your efforts.

Owner

Ah, I didn’t realize you enabled workspace_auto_back_and_forth, but that of course explains it. I think it’s fair to make moving windows to other outputs not focus that output automatically to make the behavior more consistent. People who want it to behave like it did previously can just chain the binding (like you do).

i3bot commented Sep 22, 2012

[Original comment by iiiuser]

Replying to comment 1 @…:

Ah, I didn’t realize you enabled workspace_auto_back_and_forth, but that of course explains it. I think it’s fair to make moving windows to other outputs not focus that output automatically to make the behavior more consistent. People who want it to behave like it did previously can just chain the binding (like you do).

Actually I thought about changing the binding but I wasn't able to figure out how to distinguish between moving across screens and moving on the same screen. There would a script be necessary that checks i3's tree and decides which action should be used. But I didn't know how to realize it.

Thanks again for your efforts and for even making i3. It's the best window manager I ever tried.

i3bot commented Feb 10, 2013

[Original comment by Sebastian Rachuj]

This ticket was fixed in commit http://c.i3wm.org/b565bfca:

Bugfix: Do not move focus if a container is moved across outputs

fixes #809

This makes the moving behavior more consistent. If you want to focus the
workspace you are moving to, just chain the keybinding in your config
file:

    bindsym $mod+Shift+1 move workspace 1; workspace 1

@stapelberg stapelberg was assigned by i3bot Feb 10, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment