Remove ClutterAllocationFlags
Those flags were removed from Clutter since they're pretty much unused, so remove them here, too. See https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1245 https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1245
This commit is contained in:
@ -79,7 +79,7 @@ class WindowCloneLayout extends Clutter.LayoutManager {
|
||||
return [this._boundingBox.width, this._boundingBox.width];
|
||||
}
|
||||
|
||||
vfunc_allocate(container, box, flags) {
|
||||
vfunc_allocate(container, _box) {
|
||||
container.get_children().forEach(child => {
|
||||
let realWindow;
|
||||
if (child == container._windowClone)
|
||||
@ -87,8 +87,7 @@ class WindowCloneLayout extends Clutter.LayoutManager {
|
||||
else
|
||||
realWindow = child.source;
|
||||
|
||||
child.allocate(this._makeBoxForWindow(realWindow.meta_window),
|
||||
flags);
|
||||
child.allocate(this._makeBoxForWindow(realWindow.meta_window));
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user