layout: Mark the correct monitor as fullscreen
This commit is contained in:
parent
6e89d2f46a
commit
804ff8b5a5
@ -887,8 +887,10 @@ const LayoutManager = new Lang.Class({
|
||||
this.monitors[i].inFullscreen = true;
|
||||
} else {
|
||||
let monitors = metaWindow.get_all_monitors();
|
||||
for (let i = 0; i < monitors.length; i++)
|
||||
this.monitors[i].inFullscreen = true;
|
||||
for (let i = 0; i < monitors.length; i++) {
|
||||
let index = monitors[i];
|
||||
this.monitors[index].inFullscreen = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user