[gnome-shell/gnome-40] Revert "layout: Exclude hidden actors from struts"
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-40] Revert "layout: Exclude hidden actors from struts"
- Date: Thu, 4 Nov 2021 15:39:11 +0000 (UTC)
commit aded2cd01b7af4d2bf355ed7cb129c6b869d84fb
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Nov 3 20:53:06 2021 +0100
Revert "layout: Exclude hidden actors from struts"
The change unvealed a series of mutter bugs that for most
users are worse than the issue that was fixed. So revert
the change on stable branches until the mutter side is
fixed.
This reverts commit cd1102ff30b134e45e9b5ab48318e6a4eae03416.
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 e3c5f49755..70ece6cab8 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -974,9 +974,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;
@@ -987,7 +984,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]