[gnome-shell] layout: Force size of overviewGroup
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] layout: Force size of overviewGroup
- Date: Sun, 3 Jul 2022 03:57:17 +0000 (UTC)
commit 2defa96198a72804f7c631d03f4ef99059460ae2
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>
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]