summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_x/xlib
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2012-08-19 10:50:54 +0000
committerChristopher Michael <cpmichael1@comcast.net>2012-08-19 10:50:54 +0000
commit9473f2c7d252b357526cc356a7e791de13660f40 (patch)
treef7e9464830e6671dd0bb35bfe0b839caad51af51 /legacy/ecore/src/lib/ecore_x/xlib
parentb44f3da02b9a25020fa680b77edbe96e533d48d6 (diff)
Ecore_X: Add missing cast for XkbMapNotifyEvent (removes compiler
warning). SVN revision: 75427
Diffstat (limited to 'legacy/ecore/src/lib/ecore_x/xlib')
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c
index fc08923..9d01793 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c
@@ -2515,8 +2515,9 @@ _ecore_x_event_handle_xkb(XEvent *xevent)
2515 { 2515 {
2516 if (xkbev->any.xkb_type == XkbMapNotify) 2516 if (xkbev->any.xkb_type == XkbMapNotify)
2517 { 2517 {
2518 XkbMapNotifyEvent *xkbmapping = xkbev; 2518 XkbMapNotifyEvent *xkbmapping;
2519 2519
2520 xkbmapping = (XkbMapNotifyEvent *)xkbev;
2520 XkbRefreshKeyboardMapping(xkbmapping); 2521 XkbRefreshKeyboardMapping(xkbmapping);
2521 } 2522 }
2522 ecore_event_add(ECORE_X_EVENT_XKB_NEWKBD_NOTIFY, e, NULL, NULL); 2523 ecore_event_add(ECORE_X_EVENT_XKB_NEWKBD_NOTIFY, e, NULL, NULL);