[mutter] display: Fix moving grab op check



commit 764c3dd137f43c00d3ed0336ad64029e73d8fe50
Author: Rui Matos <tiagomatos gmail com>
Date:   Tue Jan 20 17:09:31 2015 +0100

    display: Fix moving grab op check
    
    We were regarding META_GRAB_OP_KEYBOARD_RESIZING_UNKNOWN as a move.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743254

 src/core/display.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index 2d50ece..a99c7f6 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -1225,7 +1225,7 @@ meta_grab_op_is_moving (MetaGrabOp op)
   if (!grab_op_is_window (op))
     return FALSE;
 
-  return (op & META_GRAB_OP_WINDOW_DIR_MASK) == 0;
+  return !meta_grab_op_is_resizing (op);
 }
 
 /**


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