- screen = otk::OBDisplay::findScreen(e.root)->screen();
- MotionData data(screen, c, e.time, state, button, w->mcontext(), MouseMotion,
- x_root, y_root, _posqueue[0]->pos, _posqueue[0]->clientarea);
- Openbox::instance->bindings()->fireButton((ButtonData*)&data);
-}
-
-void OBActions::mapRequestHandler(const XMapRequestEvent &e)
-{
- OtkEventHandler::mapRequestHandler(e);
- // do this in OBScreen::manageWindow
-}
-
-void OBActions::unmapHandler(const XUnmapEvent &e)
-{
- OtkEventHandler::unmapHandler(e);
- // do this in OBScreen::unmanageWindow
-}
-
-void OBActions::destroyHandler(const XDestroyWindowEvent &e)
-{
- OtkEventHandler::destroyHandler(e);
- // do this in OBScreen::unmanageWindow
+ screen = otk::display->findScreen(e.root)->screen();
+ MouseData data(screen, c, e.time, state, button, w->mcontext(), MouseMotion,
+ x_root, y_root, _posqueue[0]->pos, _posqueue[0]->clientarea);
+ openbox->bindings()->fireButton(&data);