display: Fix meta_grab_op_is_moving

This commit is contained in:
Jasper St. Pierre 2014-08-15 17:39:02 -04:00
parent 977de8c5d4
commit 2de2241690

View File

@ -1200,7 +1200,7 @@ meta_grab_op_is_moving (MetaGrabOp op)
if (GRAB_OP_GET_BASE_TYPE (op) != META_GRAB_OP_WINDOW_BASE) if (GRAB_OP_GET_BASE_TYPE (op) != META_GRAB_OP_WINDOW_BASE)
return FALSE; return FALSE;
return (op & 0xF000) != 0; return (op & 0xF000) == 0;
} }
gboolean gboolean