workspaceThumbnail: only update _porthole if the overview is visible
Otherwise it happens that porthole is computed again after that the overlay is hidden (triggered by a layout reallocation) and thus not regenerated again afterwards. https://bugzilla.gnome.org/show_bug.cgi?id=792687
This commit is contained in:
parent
a198dfe3d8
commit
5fcf40b973
@ -1159,7 +1159,7 @@ var ThumbnailsBox = new Lang.Class({
|
|||||||
// The "porthole" is the portion of the screen that we show in the
|
// The "porthole" is the portion of the screen that we show in the
|
||||||
// workspaces
|
// workspaces
|
||||||
_ensurePorthole() {
|
_ensurePorthole() {
|
||||||
if (!Main.layoutManager.primaryMonitor)
|
if (!Main.layoutManager.primaryMonitor || !Main.overview.visible)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!this._porthole)
|
if (!this._porthole)
|
||||||
|
Loading…
Reference in New Issue
Block a user