[gnome-shell/gnome-42] layout: Force size of overviewGroup
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-42] layout: Force size of overviewGroup
- Date: Thu, 11 Aug 2022 12:43:04 +0000 (UTC)
commit 20f2c4cf142f7994f0ae35c05e3cb64bf4d937c3
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Jun 30 15:36:47 2022 +0200
layout: Force size of overviewGroup
The overviewGroup's size is currently determined by the coverPane
actor. That actor is only shown during transitions, so we rely on
ClutterFixedLayout including hidden children in its size request.
That odd behavior is about to change, so we need to make sure the
overview still requests the correct size.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2351>
(cherry picked from commit 2defa96198a72804f7c631d03f4ef99059460ae2)
js/ui/layout.js | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index 0292dd0025..9bce258811 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -233,6 +233,10 @@ var LayoutManager = GObject.registerClass({
name: 'overviewGroup',
visible: false,
reactive: true,
+ constraints: new Clutter.BindConstraint({
+ source: this.uiGroup,
+ coordinate: Clutter.BindCoordinate.ALL,
+ }),
});
this.addChrome(this.overviewGroup);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]