Extend windows to the bottom of the monitor

This commit is contained in:
Tor Hedin Brønner
2018-04-30 17:18:45 +02:00
parent 2dfbd6edea
commit aed3646be2
+1 -1
View File
@@ -872,7 +872,7 @@ function ensureViewport(meta_window, space, force) {
let frame = meta_window.get_frame_rect();
let width = Math.min(space.monitor.width - 2*minimumMargin, frame.width);
meta_window.move_resize_frame(true, frame.x, frame.y, width,
space.height - panelBox.height - margin_tb*2);
space.height - panelBox.height - margin_tb);
// Use monitor relative coordinates.
frame.x -= monitor.x;