forked from enlightenment/enlightenment
e_grabinput: Don't call ecore_x functions if we are not an X compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
e94a04eddc
commit
09592f57ff
|
@ -198,6 +198,12 @@ e_grabinput_mouse_win_get(void)
|
|||
static Eina_Bool
|
||||
_e_grabinput_focus_check(void *data EINA_UNUSED)
|
||||
{
|
||||
if (e_comp->comp_type != E_PIXMAP_TYPE_X)
|
||||
{
|
||||
focus_fix_timer = NULL;
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
if (ecore_x_window_focus_get() != focus_fix_win)
|
||||
{
|
||||
/* fprintf(stderr, "foc do 2\n"); */
|
||||
|
|
Loading…
Reference in New Issue