EAPI void
ecore_x_window_button_ungrab(Ecore_X_Window win, int button,
int mod, int any_mod);
-
+
+ EAPI void ecore_x_focus_reset(void);
+ EAPI void ecore_x_events_allow_all(void);
+
#ifdef __cplusplus
}
#endif
return XSendEvent(_ecore_x_disp, win, False, NoEventMask, &xev);
}
+void
+ecore_x_focus_reset(void)
+{
+ XSetInputFocus(_ecore_x_disp, PointerRoot, RevertToPointerRoot, CurrentTime);
+}
+
+void
+ecore_x_events_allow_all(void)
+{
+ XAllowEvents(_ecore_x_disp, AsyncBoth, CurrentTime);
+}
+
/*****************************************************************************/
/*****************************************************************************/