[gnome-shell/gnome-3-30] panel: Also ignore hidden windows for proximity
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-30] panel: Also ignore hidden windows for proximity
- Date: Tue, 23 Oct 2018 15:32:22 +0000 (UTC)
commit d21b276c077ab3117edde4da8b992648bd643cc5
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Oct 23 14:05:01 2018 +0000
panel: Also ignore hidden windows for proximity
We currently only ignore minimized windows, not windows that are
hidden for other reasons - namely on wayland windows are initially
hidden until they are placed.
This fixes a flicker in the transparent top bar on wayland when the
"position" of an unplaced window wrongly suggests the window is
overlapping the top bar.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/693
(cherry picked from commit a0dc8dc7ef8d1599205080195f58af196c73d444)
js/ui/panel.js | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index 3726b8445..66588f9c1 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -1093,6 +1093,7 @@ var Panel = new Lang.Class({
let windows = activeWorkspace.list_windows().filter(metaWindow => {
return metaWindow.is_on_primary_monitor() &&
metaWindow.showing_on_its_workspace() &&
+ !metaWindow.is_hidden() &&
metaWindow.get_window_type() != Meta.WindowType.DESKTOP;
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]