add function to return current key grab xwin

SVN revision: 80093
This commit is contained in:
Mike Blumenkrantz 2012-12-03 19:03:49 +00:00
parent d48545db45
commit 23d0765d1a
2 changed files with 7 additions and 0 deletions

View File

@ -128,6 +128,12 @@ e_grabinput_last_focus_win_get(void)
return focus_fix_win;
}
EAPI Ecore_X_Window
e_grabinput_key_win_get(void)
{
return grab_key_win;
}
static Eina_Bool
_e_grabinput_focus_check(void *data __UNUSED__)
{

View File

@ -19,6 +19,7 @@ EAPI void e_grabinput_release(Ecore_X_Window mouse_win, Ecore_X_Window
EAPI void e_grabinput_focus(Ecore_X_Window win, E_Focus_Method method);
EAPI double e_grabinput_last_focus_time_get(void);
EAPI Ecore_X_Window e_grabinput_last_focus_win_get(void);
EAPI Ecore_X_Window e_grabinput_key_win_get(void);
#endif
#endif