windowMenu: Pass missing argument when starting grab op

The function now requires an additional position-hint argument.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3214>
This commit is contained in:
Florian Müllner 2024-02-28 16:00:43 +01:00 committed by Marge Bot
parent be0800ea17
commit 290e705c89

View File

@ -71,7 +71,8 @@ export class WindowMenu extends PopupMenu.PopupMenu {
window.begin_grab_op(
Meta.GrabOp.KEYBOARD_MOVING,
pointer, null,
event.get_time());
event.get_time(),
null);
});
if (!window.allows_move())
item.setSensitive(false);
@ -90,7 +91,8 @@ export class WindowMenu extends PopupMenu.PopupMenu {
window.begin_grab_op(
Meta.GrabOp.KEYBOARD_RESIZING_UNKNOWN,
pointer, null,
event.get_time());
event.get_time(),
null);
});
if (!window.allows_resize())
item.setSensitive(false);