mmai / Current_screen_only_on_window_switcher

Gnome extension - limits the windows shown on the switcher to those of the current monitor
https://extensions.gnome.org/extension/1437/current-screen-only-for-alternate-tab/
MIT License
63 stars 12 forks source link

alt-tab dialog-window doesn't appear on second monitor #2

Closed jdeut closed 5 years ago

jdeut commented 6 years ago

It would be great that if alt-tab is pressed on the second monitor, that the alt-tab dialog also appears on the second monitor.

DamienBth commented 5 years ago

:+1: I totally agree with nichtleiter, this extension works well (thanks for that), but it would be a lot better if the dialog was on the current screen. Or at least on all screen.

mmai commented 5 years ago

That's fixed thanks to a contribution by @casperbiering

DamienBth commented 5 years ago

I am on Gnome 3.28.4, the modification of @casperbiering didn't work but helped me for making it work: I had to get the file https://raw.githubusercontent.com/mmai/Current_screen_only_on_window_switcher/fade7b5439966689b30ee2a0ef66d1c9afe9ef20/extension.js And modified line 13: global.display.get_current_monitor() => global.screen.get_current_monitor()

Thanks !