G-dH / advanced-alttab-window-switcher

A highly customizable replacement for Gnome Shell's Alt-Tab window and app switchers.
GNU General Public License v3.0
163 stars 11 forks source link

Feature request: move mouse to centre of selected window #31

Closed artfulrobot closed 2 years ago

artfulrobot commented 2 years ago

Under Ubuntu 22.04/Gnome/Wayland, using "sloppy"/"secondary-click" mouse focus option, if I Alt-Tab to a window that is not directly under my cursor, the focus momentarily switches back to whatever is under the mouse cursor.

This seems to be a Wayland issue. https://askubuntu.com/questions/1403158/alt-tab-focus-immediately-lost-on-wayland-with-secondary-click-sloppy-window

I was wondering if it were feasible to add another option to your config which moves the mouse over the window you alt-tabbed to, as I think this would provide a work-around. I realise this might be out of scope, but I noticed a few other hacks and thought you might be interested. Currently I have to alt-tab, then move my mouse over the raised/focussed window to be able to actually use that window, which is a bit of a bind.

Thanks for an awesome shell extension, by the way!

G-dH commented 2 years ago

You can use following extension: https://github.com/Dotrar/gnome-centre-focus Just override version "3.36" in metadata.js file with "42" to make it compatible with your system.

G-dH commented 2 years ago

And this one is already updated: Alt-Tab Move Mouse

artfulrobot commented 2 years ago

THANK YOU!!

G-dH commented 2 years ago

👍🏻