LeonMatthes / mousefollowsfocus

A GNOME extension for a more efficient keyboard driven navigation.
GNU General Public License v3.0
16 stars 8 forks source link

[Feature Request] Restore the previous position inside the window while switching back to it instead of the window center #7

Open juarezr opened 1 year ago

juarezr commented 1 year ago

[Feature Request] Restore the previous position inside the window while switching back to it instead of the window center

Steps to Reproduce

  1. Activate the Mouse Follows Focus extension if it wasn't yet
  2. Open at least two applications with windows in diverse positions on the screen
  3. Move the mouse to any position over the currently focused window that isn't the window center
  4. Switch to another application/window using the Alt+Tab or Super+Tab combination
  5. Switch back to the previous application/window using the Alt+Tab or Super+Tab combination again
  6. Notice that the mouse is placed at the window center instead of the previous position.

Advantages

  1. Moving the mouse with the focus helps a lot, but it could be even better
  2. Pretty probably the window center isn't the position where the mouse will be used
  3. The widgets that will most probably be used are in the top (menu, toolbar) or side (sidebars, scrollbar) position
  4. Probably the next click will be nearer to the last position than from the window center

Feature Request

Thanks for the wonderful extension!

dylanbmorgan commented 1 year ago

I would also like to have the option to have the cursor default to the title bar