[gtk+] broadway: Fix mouse position typo



commit e9906138e59cf4cbe6407482a3c01378590904c8
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Mar 28 16:27:49 2013 +0100

    broadway: Fix mouse position typo

 gdk/broadway/gdkdevice-broadway.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/broadway/gdkdevice-broadway.c b/gdk/broadway/gdkdevice-broadway.c
index 5d5cde3..e922c58 100644
--- a/gdk/broadway/gdkdevice-broadway.c
+++ b/gdk/broadway/gdkdevice-broadway.c
@@ -188,7 +188,7 @@ gdk_broadway_device_query_state (GdkDevice        *device,
   if (root_y)
     *root_y = device_root_y;
   if (win_x)
-    *win_x = device_root_y - toplevel->x;
+    *win_x = device_root_x - toplevel->x;
   if (win_y)
     *win_y = device_root_y - toplevel->y;
   if (mask)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]