Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Switching windows also switches to primary monitor #181

Open
rhofour opened this issue Jan 8, 2017 · 4 comments
Open

Switching windows also switches to primary monitor #181

rhofour opened this issue Jan 8, 2017 · 4 comments

Comments

@rhofour
Copy link
Contributor

rhofour commented Jan 8, 2017

I'm looking at adding multimonitor support to Shellshape and this looks like a good first place to start.

The issue: Currently, if you have a window on a secondary monitor selected and try and change windows you'll automatically be moved to the primary monitor and be unable to get back without the mouse.

Solutions:

  1. Have windows on all monitors be included when cycling so when you cycle through all the windows on the primary monitor you automatically move over to the secondary monitor then back.

  2. Have cycling windows always keep you on the same screen. Instead, to change monitors you would use different, explicit keybindings.

I think option 2 makes more sense and I plan to start work on it unless other people strongly feel it's the wrong way to go about this. Afterwards, I intend to start on #148 .

@timbertson
Copy link
Owner

Option 2 sounds good to me. Any thoughts on what keybinding to use for switching monitors? Possibly <win+alt+o> ? Has a bit of a mnemonic for "Other screen", and sits near the existing bindings for <win+alt+j/k> for workspace switching.

@rhofour
Copy link
Contributor Author

rhofour commented Jan 14, 2017

I was thinking about having two for next screen and previous screen. I'm likely going to bind them to the workspace switching keys since I don't use those. I'm not sure what would make good defaults. I think xmonad used something like <win+shift+w/e>.

Anyways, I've been looking through the code and it seems my first step here would be to actually get tiling working on the second monitor (#150) before I can make switching stay within a monitor. So that's what I'm currently working on.

@steveej
Copy link

steveej commented Jul 4, 2017

@rhofour did you ever get around to this or have you found alternative solutions? I'm trying to migrate from a custom qtile desktop to gnome but I'm not willing to give up tiling on all monitors 😆

@rhofour
Copy link
Contributor Author

rhofour commented Jul 5, 2017

I spent some time looking at it, then I ended up buying a 27" monitor 😛
I'm sure it's possible, but I didn't dive far enough into mutter and shellshape to figure out how. I might get around to it later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants