layout: Fix strut heuristics for multi-monitor
Spotted while going through the code. https://bugzilla.gnome.org/show_bug.cgi?id=690666
This commit is contained in:
parent
5566aa4588
commit
5274166f8c
@ -1092,7 +1092,7 @@ const Chrome = new Lang.Class({
|
||||
} else if (y1 <= primary.y && y2 >= primary.y + primary.height) {
|
||||
if (x1 <= 0)
|
||||
side = Meta.Side.LEFT;
|
||||
else if (x2 >= global.screen_width)
|
||||
else if (x2 >= primary.x + primary.width)
|
||||
side = Meta.Side.RIGHT;
|
||||
else
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user