+ OtkEventHandler::enterHandler(e);
+
+ OBWidget *w = dynamic_cast<OBWidget*>
+ (Openbox::instance->findHandler(e.window));
+
+ // run the ENTER python hook
+ doCallback(Action_EnterWindow, e.window,
+ (OBWidget::WidgetType)(w ? w->type():-1), e.state, 0, 0, 0, 0);
+}
+
+
+void OBActions::leaveHandler(const XCrossingEvent &e)
+{
+ OtkEventHandler::leaveHandler(e);
+
+ OBWidget *w = dynamic_cast<OBWidget*>
+ (Openbox::instance->findHandler(e.window));
+
+ // run the LEAVE python hook
+ doCallback(Action_LeaveWindow, e.window,
+ (OBWidget::WidgetType)(w ? w->type():-1), e.state, 0, 0, 0, 0);
+}