[mutter/gnome-3-14] display: Fix moving grab op check
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-3-14] display: Fix moving grab op check
- Date: Tue, 20 Jan 2015 16:53:40 +0000 (UTC)
commit 6772758a643c86111c8b729562ba375d318335e3
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 185452b..29242fa 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -1214,7 +1214,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]