mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 20:12:06 +00:00
window: Make the Move / Resize window menu items behave like the keybind
The Alt+F7 and Alt+F8 keybinds for moving and resizing windows allow you to move and resize the window off the screen, so allow the same for the menu items as well, since they're marked with the same accelerator. https://bugzilla.gnome.org/show_bug.cgi?id=728617
This commit is contained in:
parent
3d091e514d
commit
52cf9104d9
@ -6534,14 +6534,14 @@ menu_callback (MetaWindowMenu *menu,
|
||||
case META_MENU_OP_MOVE:
|
||||
meta_window_begin_grab_op (window,
|
||||
META_GRAB_OP_KEYBOARD_MOVING,
|
||||
TRUE,
|
||||
FALSE,
|
||||
timestamp);
|
||||
break;
|
||||
|
||||
case META_MENU_OP_RESIZE:
|
||||
meta_window_begin_grab_op (window,
|
||||
META_GRAB_OP_KEYBOARD_RESIZING_UNKNOWN,
|
||||
TRUE,
|
||||
FALSE,
|
||||
timestamp);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user