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++)
|
||||
this.monitors[i].inFullscreen = true;
|
||||
} else {
|
||||
let monitor = this.monitors[metaWindow.get_monitor()];
|
||||
if (monitor)
|
||||
monitor.inFullscreen = true;
|
||||
let monitors = metaWindow.get_all_monitors();
|
||||
for (let i = 0; i < monitors.length; i++)
|
||||
this.monitors[i].inFullscreen = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user