From b5e5b67e22830b953d6997a7b378f072056b875d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 28 Dec 2023 10:34:33 +0100 Subject: [PATCH] screenshot: Expand window contents MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit More fallout from commit c290a38730eb2 … Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7287 Part-of: --- js/ui/screenshot.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index a1206a56d..464e95672 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -773,8 +773,11 @@ class UIWindowSelectorLayout extends Workspace.WorkspaceLayout { const UIWindowSelectorWindowContent = GObject.registerClass( class UIWindowSelectorWindowContent extends Clutter.Actor { - _init(actor, params) { - super._init(params); + constructor(actor) { + super({ + x_expand: true, + y_expand: true, + }); const window = actor.metaWindow; this._boundingBox = window.get_frame_rect();