Ecore_X: Add missing cast for XkbMapNotifyEvent (removes compiler

warning).



SVN revision: 75427
This commit is contained in:
Christopher Michael 2012-08-19 10:50:54 +00:00
parent b44f3da02b
commit 9473f2c7d2
1 changed files with 3 additions and 2 deletions

View File

@ -2515,8 +2515,9 @@ _ecore_x_event_handle_xkb(XEvent *xevent)
{
if (xkbev->any.xkb_type == XkbMapNotify)
{
XkbMapNotifyEvent *xkbmapping = xkbev;
XkbMapNotifyEvent *xkbmapping;
xkbmapping = (XkbMapNotifyEvent *)xkbev;
XkbRefreshKeyboardMapping(xkbmapping);
}
ecore_event_add(ECORE_X_EVENT_XKB_NEWKBD_NOTIFY, e, NULL, NULL);