[gnome-shell] altTab: Restore correct visibility when cycling windows
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] altTab: Restore correct visibility when cycling windows
- Date: Sun, 18 Sep 2016 09:03:08 +0000 (UTC)
commit d6a78d61d1b5fde8a5d657437287cfd473b7e546
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Sep 13 21:18:17 2016 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/altTab.js b/js/ui/altTab.js
index e65d46b..c221707 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]