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
This commit is contained in:
Rui Matos 2015-01-20 17:09:31 +01:00
parent 7e7c8ecbd4
commit 764c3dd137

View File

@ -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);
}
/**