layout: Handle _NET_WM_FULLSCREEN_MONITORS
Mark all monitors that fullscreen when window is using the _NET_WM_FULLSCREEN_MONITORS to be fullscreen on multiple monitors. https://bugzilla.gnome.org/show_bug.cgi?id=646861
This commit is contained in:
parent
310dc10c4d
commit
a361180745
@ -886,9 +886,9 @@ const LayoutManager = new Lang.Class({
|
|||||||
for (let i = 0; i < this.monitors.length; i++)
|
for (let i = 0; i < this.monitors.length; i++)
|
||||||
this.monitors[i].inFullscreen = true;
|
this.monitors[i].inFullscreen = true;
|
||||||
} else {
|
} else {
|
||||||
let monitor = this.monitors[metaWindow.get_monitor()];
|
let monitors = metaWindow.get_all_monitors();
|
||||||
if (monitor)
|
for (let i = 0; i < monitors.length; i++)
|
||||||
monitor.inFullscreen = true;
|
this.monitors[i].inFullscreen = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user