windowMenu: Update for removal of frame_action argument
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2526>
This commit is contained in:
parent
f32ffbf19b
commit
0e969cab91
@ -57,13 +57,13 @@ var WindowMenu = class extends PopupMenu.PopupMenu {
|
||||
item.setSensitive(false);
|
||||
|
||||
item = this.addAction(_("Move"), event => {
|
||||
window.begin_grab_op(Meta.GrabOp.KEYBOARD_MOVING, true, event.get_time());
|
||||
window.begin_grab_op(Meta.GrabOp.KEYBOARD_MOVING, event.get_time());
|
||||
});
|
||||
if (!window.allows_move())
|
||||
item.setSensitive(false);
|
||||
|
||||
item = this.addAction(_("Resize"), event => {
|
||||
window.begin_grab_op(Meta.GrabOp.KEYBOARD_RESIZING_UNKNOWN, true, event.get_time());
|
||||
window.begin_grab_op(Meta.GrabOp.KEYBOARD_RESIZING_UNKNOWN, event.get_time());
|
||||
});
|
||||
if (!window.allows_resize())
|
||||
item.setSensitive(false);
|
||||
|
Loading…
Reference in New Issue
Block a user