2008-06-29 Matthew Allum <mallum@openedhand.com>

* clutter/x11/clutter-event-x11.c:
        ifdef convert_xdevicekey_to_xkey () with XINPUT check.
        (fix via Andy Wingo)
This commit is contained in:
Matthew Allum 2008-06-29 22:19:20 +00:00
parent 4471e886f5
commit 9fa47035ac
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2008-06-29 Matthew Allum <mallum@openedhand.com>
* clutter/x11/clutter-event-x11.c:
ifdef convert_xdevicekey_to_xkey () with XINPUT check.
(fix via Andy Wingo)
2008-06-29 Tommi Komulainen <tommi.komulainen@iki.fi>
* clutter/osx/clutter-osx.h (_clutter_event_osx_put)

View File

@ -219,6 +219,7 @@ set_user_time (ClutterBackendX11 *backend_x11,
}
}
#ifdef USE_XINPUT
static void
convert_xdevicekey_to_xkey (XDeviceKeyEvent *xkev, XEvent *xevent)
{
@ -237,6 +238,7 @@ convert_xdevicekey_to_xkey (XDeviceKeyEvent *xkev, XEvent *xevent)
xevent->xkey.keycode = xkev->keycode;
xevent->xkey.same_screen = xkev->same_screen;
}
#endif
static void
translate_key_event (ClutterBackend *backend,