mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-07-01 06:30:02 +00:00
grab: make re-grabbing a window smoother
This commit is contained in:
3
grab.js
3
grab.js
@@ -191,7 +191,8 @@ var MoveGrab = class MoveGrab {
|
||||
let space = this.initialSpace;
|
||||
let frame = metaWindow.get_frame_rect();
|
||||
|
||||
this.initialY = clone.y;
|
||||
this.initialY = clone.targetY;
|
||||
Tweener.removeTweens(clone);
|
||||
let [gx, gy, $] = global.get_pointer();
|
||||
|
||||
let px = (gx - actor.x) / actor.width;
|
||||
|
||||
Reference in New Issue
Block a user