]> Dogcows Code - chaz/openbox/blobdiff - otk/eventhandler.cc
wrapper updates
[chaz/openbox] / otk / eventhandler.cc
index 6603b3e13509387c6cd196cb0a720b3109f353a9..7e1ad745c2ad37ef1726ee6716164496f0b78dca 100644 (file)
@@ -30,6 +30,8 @@ void OtkEventHandler::handle(const XEvent &e)
     return buttonPressHandler(e.xbutton);
   case ButtonRelease:
     return buttonReleaseHandler(e.xbutton);
+  case MotionNotify:
+    return motionHandler(e.xmotion);
   case EnterNotify:
     return enterHandler(e.xcrossing);
   case LeaveNotify:
@@ -89,6 +91,10 @@ void OtkEventHandler::handle(const XEvent &e)
     if (e.type == otk::OBDisplay::shapeEventBase())
       return shapeHandler((*(XShapeEvent*)&e));
 #endif // SHAPE
+#ifdef    XKB
+    if (e.type == otk::OBDisplay::xkbEventBase())
+      return xkbHandler((*(XkbEvent*)&e));
+#endif // XKB
     ;
   }
 }
This page took 0.020817 seconds and 4 git commands to generate.