mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-06 20:07:02 +00:00
Bugfix: Pointer always warped when moving it to the bottom monitor
This commit is contained in:
@@ -1155,7 +1155,7 @@ class Spaces extends Map {
|
||||
TopBar.setMonitor(toSpace.monitor);
|
||||
toSpace.monitor.clickOverlay.deactivate();
|
||||
|
||||
let [ok, x, y] = global.get_pointer();
|
||||
let [x, y, _mods] = global.get_pointer();
|
||||
x -= monitor.x;
|
||||
y -= monitor.y;
|
||||
if (x < 0 || x > monitor.width ||
|
||||
|
||||
Reference in New Issue
Block a user