[mutter] display: Unknown keyboard resize ops are resizing ops
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] display: Unknown keyboard resize ops are resizing ops
- Date: Mon, 1 Dec 2014 16:32:42 +0000 (UTC)
commit 6492845f276a693ed513eaa3a738998db52881cb
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Dec 1 08:31:26 2014 -0800
display: Unknown keyboard resize ops are resizing ops
This fixes the resize popup not showing up when doing a keyboard
resize.
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 93ab972..d796963 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -1205,7 +1205,7 @@ meta_grab_op_is_resizing (MetaGrabOp op)
if (!grab_op_is_window (op))
return FALSE;
- return (op & META_GRAB_OP_WINDOW_DIR_MASK) != 0;
+ return (op & META_GRAB_OP_WINDOW_DIR_MASK) != 0 || op == META_GRAB_OP_KEYBOARD_RESIZING_UNKNOWN;
}
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]