screenshot: Expand window contents

More fallout from commit c290a38730 …

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7287

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3083>
This commit is contained in:
Florian Müllner 2023-12-28 10:34:33 +01:00 committed by Marge Bot
parent 35f6111ec9
commit b5e5b67e22

View File

@ -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();