[gnome-shell] Revert "layout: Exclude hidden actors from struts"
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Revert "layout: Exclude hidden actors from struts"
- Date: Sat, 5 Mar 2022 22:36:35 +0000 (UTC)
commit cd33f5d9073ef12f5efb3f28c3bbff4c1aa8d780
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Mar 5 13:06:59 2022 +0100
Revert "layout: Exclude hidden actors from struts"
The changes violated too many assumptions on the mutter
side. And even if those were addressed, changing the
work area when a window enters/leaves fullscreen isn't
great, because it will force an expensive relayout on
all other windows.
This reverts commit cd1102ff30b134e45e9b5ab48318e6a4eae03416.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2223>
js/ui/layout.js | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index fe0983174b..e629f62807 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -998,9 +998,6 @@ var LayoutManager = GObject.registerClass({
for (i = 0; i < this._trackedActors.length; i++) {
let actorData = this._trackedActors[i];
- if (!actorData.actor.get_paint_visibility())
- continue;
-
if (!(actorData.affectsInputRegion && wantsInputRegion) && !actorData.affectsStruts)
continue;
@@ -1011,7 +1008,7 @@ var LayoutManager = GObject.registerClass({
w = Math.round(w);
h = Math.round(h);
- if (actorData.affectsInputRegion && wantsInputRegion)
+ if (actorData.affectsInputRegion && wantsInputRegion && actorData.actor.get_paint_visibility())
rects.push(new Meta.Rectangle({ x, y, width: w, height: h }));
let monitor = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]