[mutter] window: Fix the north/south cursor position when keyboard resizing
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window: Fix the north/south cursor position when keyboard resizing
- Date: Tue, 19 Aug 2014 19:11:41 +0000 (UTC)
commit 933d05a565fa8f59d33a49dee977d388bcd10271
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Aug 19 15:01:44 2014 -0400
window: Fix the north/south cursor position when keyboard resizing
We got these backwards...
src/core/window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index b626a5d..6a925b9 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -6419,9 +6419,9 @@ warp_grab_pointer (MetaWindow *window,
else
*x = rect.width / 2;
- if (grab_op & META_GRAB_OP_WINDOW_DIR_SOUTH)
+ if (grab_op & META_GRAB_OP_WINDOW_DIR_NORTH)
*y = 0;
- else if (grab_op & META_GRAB_OP_WINDOW_DIR_NORTH)
+ else if (grab_op & META_GRAB_OP_WINDOW_DIR_SOUTH)
*y = rect.height - 1;
else
*y = rect.height / 2;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]