[gtk+/wip/mir3.12: 36/46] Whoops, I forgot the magic 8



commit f3f5b6bd0227829e405eb67d3f4b8650042a9825
Author: Robert Ancell <robert ancell canonical com>
Date:   Thu May 29 14:01:25 2014 +0200

    Whoops, I forgot the magic 8

 gdk/mir/gdkmireventsource.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/mir/gdkmireventsource.c b/gdk/mir/gdkmireventsource.c
index c63b801..2e4d383 100644
--- a/gdk/mir/gdkmireventsource.c
+++ b/gdk/mir/gdkmireventsource.c
@@ -400,7 +400,7 @@ generate_key_event (GdkWindow *window, GdkEventType type, guint state, guint key
   event = gdk_event_new (type);
   event->key.state = state;
   event->key.keyval = keyval;
-  event->key.hardware_keycode = keycode;
+  event->key.hardware_keycode = keycode + 8;
   event->key.is_modifier = is_modifier;
   set_key_event_string (&event->key);
 


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