sizeHandler: use correct coordinates

This commit is contained in:
Tor Hedin Brønner
2018-05-04 16:43:59 +02:00
parent ffc0b58002
commit afa17072eb
+3 -1
View File
@@ -1118,7 +1118,9 @@ function sizeHandler(metaWindow) {
return;
let frame = metaWindow.get_frame_rect();
move_to(space, metaWindow, {x: frame.x, y: frame.y});
let monitor = space.monitor;
move_to(space, metaWindow, {x: frame.x - monitor.x, y: frame.y - monitor.y,
onComplete: () => space.emit('move-done')});
}
// `MetaWindow::focus` handling