[mutter] display: Fix meta_grab_op_is_moving



commit 2de22416901fcb5de8074c96d561251437a18d2e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Aug 15 17:39:02 2014 -0400

    display: Fix meta_grab_op_is_moving

 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 d6cc582..2e309ba 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -1200,7 +1200,7 @@ meta_grab_op_is_moving (MetaGrabOp op)
   if (GRAB_OP_GET_BASE_TYPE (op) != META_GRAB_OP_WINDOW_BASE)
     return FALSE;
 
-  return (op & 0xF000) != 0;
+  return (op & 0xF000) == 0;
 }
 
 gboolean


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