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:
parent
be0800ea17
commit
290e705c89
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user