Is there a keyboard shortcut, or a setting, to make the mouse cursor "jump" to the currently focused window?

I use a dual monitor setup, and after Alt+Tab-ing to a window on the adjacent screen, it would be rather helpful to jump the mouse cursor to the center of it (sort of a like a reverse focus follow).

  • 1
    Start a window move with the keyboard and then press Esc. – Ignacio Vazquez-Abrams May 18 '18 at 15:18
  • 1
    Alt-Space then M? – Ignacio Vazquez-Abrams May 18 '18 at 15:26
  • I think your best shot is autohotkey. Write two keyboard bindings that each move the mouse cursor to the center of screen 1/2. – T Nierath May 18 '18 at 15:37
  • @IgnacioVazquez-Abrams Alt-Space, M (or S) doesn't work if window is full screen. – samis May 18 '18 at 15:38
  • @TNierath Is AutoHotKey known to interfear with Visual Studio? – samis May 18 '18 at 15:42

There are two options available which can help to a limit if not everything you need.

you can control mouse cursor using numeric pad. Under "Ease of access center", you can find setting related to mouse. Turn on "Mouse Keys" to control mouse cursor.

enter image description here

You can also set mouse cursor to jump to default button of screen. Use mouse properties to do that.

enter image description here


I came over the same problem and developed a small piece of software to help: I published it on the Microsoft Store https://www.microsoft.com/de-at/p/mousepointerreposition/9ncz1p9hpwfh?activetab=pivot:overviewtab or you can download the source code from https://github.com/rhinterndorfer/MousePointerReposition and compile it yourself.

The software runs in background and listens for certain keyboard input (Alt+Tab, Win[+Shift]+Arrow keys, 2xCTRL) and will place the mouse cursor in the center of a active foreground window after all keys are released.

Feedback would be nice so I can try to improve.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.