From 78a7a60b8969aa14a89ce54132db1f6e44b4dca0 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 18 Dec 2012 00:45:00 +0000 Subject: [PATCH] evdev: Fix missing ClutterEventSource member https://bugzilla.gnome.org/show_bug.cgi?id=686692 --- clutter/evdev/clutter-device-manager-evdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clutter/evdev/clutter-device-manager-evdev.c b/clutter/evdev/clutter-device-manager-evdev.c index edf455d27..7afcc0add 100644 --- a/clutter/evdev/clutter-device-manager-evdev.c +++ b/clutter/evdev/clutter-device-manager-evdev.c @@ -111,6 +111,7 @@ struct _ClutterEventSource GPollFD event_poll_fd; /* file descriptor of the /dev node */ struct xkb_state *xkb; /* XKB state object */ gint x, y; /* last x, y position for pointers */ + guint32 modifier_state; /* key modifiers */ }; static gboolean @@ -289,7 +290,7 @@ notify_button (ClutterEventSource *source, else event = clutter_event_new (CLUTTER_BUTTON_RELEASE); - /* Update the modfiers */ + /* Update the modifiers */ if (state) source->modifier_state |= maskmap[button - BTN_LEFT]; else