Eliasyoussef47 / LockCursorInMonitor

Allows the user to confine the cursor to the monitor it's on when they hold the ctrl key.
17 stars 9 forks source link

The locking gets disabled when the focus of the cursor changes #1

Closed Eliasyoussef47 closed 3 years ago

Eliasyoussef47 commented 3 years ago

Describe the bug The locking gets disabled when the focus of the cursor changes. If you press ctrl first and then press and move a window the cursor locking doesn't work because the focus of the cursor is changed.

To Reproduce Steps to reproduce the behavior:

  1. Press and hold ctrl
  2. Click and drag a window to another monitor
  3. no work

Expected behavior The locking of the cursor should work regardless of the order of the mouse click and ctrl press.

Desktop (please complete the following information):

Eliasyoussef47 commented 3 years ago

Issue still persists when actions are done quickly enough.