[mutter] window: Make the Move / Resize window menu items behave like the keybind



commit 52cf9104d95b098d14f4c00b1230d5d56c034bbd
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Apr 21 13:32:23 2014 -0400

    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

 src/core/window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 48bc18e..2969178 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]