mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
windowPreview: Adapt to ClutterActor API changes
The API of clutter_actor_allocate_preferred_size() changed with https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1310, so adapt to this change and pass the origin to the function. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1322
This commit is contained in:
parent
9297d87775
commit
06df79286d
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ var WindowPreviewLayout = GObject.registerClass({
|
|||
|
||||
child.allocate(childBox);
|
||||
} else {
|
||||
child.allocate_preferred_size();
|
||||
child.allocate_preferred_size(0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue