diff --git a/clutter/evdev/clutter-device-manager-evdev.c b/clutter/evdev/clutter-device-manager-evdev.c index 6c8399cba..7132ebdb7 100644 --- a/clutter/evdev/clutter-device-manager-evdev.c +++ b/clutter/evdev/clutter-device-manager-evdev.c @@ -177,7 +177,7 @@ notify_key (ClutterEventSource *source, stage, source->xkb, time_, key, state); - xkb_state_update_key (source->xkb, key, state ? XKB_KEY_DOWN : XKB_KEY_UP); + xkb_state_update_key (source->xkb, event->key.hardware_keycode, state ? XKB_KEY_DOWN : XKB_KEY_UP); } queue_event (event);