[gnome-shell/gnome-41] layout: Force size of overviewGroup
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-41] layout: Force size of overviewGroup
- Date: Thu, 11 Aug 2022 13:03:55 +0000 (UTC)
commit 57005b8c8fe9ce02e207fa1cf4733163dddfba1f
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 | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index 344df64989..438c4befc6 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -226,9 +226,15 @@ var LayoutManager = GObject.registerClass({
global.stage.remove_actor(global.top_window_group);
this.uiGroup.add_actor(global.top_window_group);
- this.overviewGroup = new St.Widget({ name: 'overviewGroup',
- visible: false,
- reactive: true });
+ this.overviewGroup = new St.Widget({
+ name: 'overviewGroup',
+ visible: false,
+ reactive: true,
+ constraints: new Clutter.BindConstraint({
+ source: this.uiGroup,
+ coordinate: Clutter.BindCoordinate.ALL,
+ }),
+ });
this.addChrome(this.overviewGroup);
this.screenShieldGroup = new St.Widget({
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]