Skip to content

Conversation

@smichel17
Copy link
Member

@smichel17 smichel17 commented Sep 26, 2025

This is part of a series of PRs. See the first one for more context.

  1. Global switch windows - move to **visually** closest window #1076
  2. Global move -- allow switching to empty monitors #1081 « 📌 YOU ARE HERE
  3. Add global move selected window hotkey #1082

Updates the "select window or monitor to the " to move to/from empty monitors as well as monitors with windows.

This is useful for keyboard-only navigation, if I want to move to a
specific monitor and then open a window there.
Now that we can switch from a window to an empty space, it's awkward if
we can't switch from an empty space back to a window.

We need to change the KeybindingFlags because when you set PER_WINDOW,
gnome-shell doesn't activate the keybinding unless a window is selected.
@smichel17 smichel17 changed the title Sm/global move to empty Global move -- allow switching to empty monitors Sep 26, 2025
return;
}

let column = space[index];
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: apply to switching vertically, too. So far I was just focused on horizontally because that's what I use; I don't have any monitors laid out vertically.

@smichel17 smichel17 marked this pull request as draft September 26, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants