mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue