forked from enlightenment/enlightenment
add comp mouse grab detection function
This commit is contained in:
parent
76eec883b7
commit
0c7ff0b0e9
|
@ -1592,6 +1592,12 @@ e_comp_util_kbd_grabbed(void)
|
||||||
return e_menu_grab_window_get() || e_client_action_get() || e_grabinput_key_win_get();
|
return e_menu_grab_window_get() || e_client_action_get() || e_grabinput_key_win_get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EAPI Eina_Bool
|
||||||
|
e_comp_util_mouse_grabbed(void)
|
||||||
|
{
|
||||||
|
return e_menu_grab_window_get() || e_client_action_get() || e_grabinput_mouse_win_get();
|
||||||
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
e_comp_gl_set(Eina_Bool set)
|
e_comp_gl_set(Eina_Bool set)
|
||||||
{
|
{
|
||||||
|
|
|
@ -212,6 +212,7 @@ EAPI E_Config_Dialog *e_int_config_comp_match(Evas_Object *parent, const char *p
|
||||||
|
|
||||||
|
|
||||||
EAPI Eina_Bool e_comp_util_kbd_grabbed(void);
|
EAPI Eina_Bool e_comp_util_kbd_grabbed(void);
|
||||||
|
EAPI Eina_Bool e_comp_util_mouse_grabbed(void);
|
||||||
|
|
||||||
static inline Eina_Bool
|
static inline Eina_Bool
|
||||||
e_comp_util_client_is_fullscreen(const E_Client *ec)
|
e_comp_util_client_is_fullscreen(const E_Client *ec)
|
||||||
|
|
Loading…
Reference in New Issue