From d6a78d61d1b5fde8a5d657437287cfd473b7e546 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 13 Sep 2016 21:18:17 +0200 Subject: [PATCH] altTab: Restore correct visibility when cycling windows Commit 3171819c improved window cycling by using a dedicated to clone for highlighting rather than activating all cycled windows. Original window actors are hidden while its clone is showing, and shown again afterwards, however the latter is wrong for actors that are not supposed to be visible (for example where the window is minimized, or on a different workspace). Fix this by properly syncing the actor's visibility instead of showing it unconditionally. https://bugzilla.gnome.org/show_bug.cgi?id=771536 --- js/ui/altTab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/altTab.js b/js/ui/altTab.js index e65d46b5a..c2217075b 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -386,7 +386,7 @@ const CyclerHighlight = new Lang.Class({ this._window = w; if (this._clone.source) - this._clone.source.show(); + this._clone.source.sync_visibility(); let windowActor = this._window ? this._window.get_compositor_private() : null;