[gnome-shell-extensions] window-list: Set visibility based on the target monitor.
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] window-list: Set visibility based on the target monitor.
- Date: Fri, 20 May 2022 11:38:39 +0000 (UTC)
commit 412762ae9de5b2a7c11228ad8509202f6a89a328
Author: Jason Lynch <jason calindora com>
Date: Thu May 19 17:19:59 2022 -0700
window-list: Set visibility based on the target monitor.
Currently, the visibility of the window list on a given monitor is set
according to the fullscreen status of the primary monitor. When a
fullscreen application is on a secondary monitor (but not on the primary
monitor), entering and exiting the overview will lead to the window list
incorrectly being visible on the monitor with the fullscreen
application.
Instead, determine the visibility based on the fullscreen status of the
monitor being evaluated.
Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/400
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/230>
extensions/window-list/extension.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js
index 0ca6729..500695b 100644
--- a/extensions/window-list/extension.js
+++ b/extensions/window-list/extension.js
@@ -790,7 +790,7 @@ class WindowList extends St.Widget {
});
this._overviewHidingId = Main.overview.connect('hidden', () => {
- this.visible = !Main.layoutManager.primaryMonitor.inFullscreen;
+ this.visible = !this._monitor.inFullscreen;
this._updateKeyboardAnchor();
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]