forked from enlightenment/enlightenment
allow mouse in focus events on focused windows; this may fix issues for the whiners who say stacking is broken
This commit is contained in:
parent
0fbef1e607
commit
ce587b8181
|
@ -6367,7 +6367,6 @@ _e_border_cb_mouse_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNU
|
||||||
E_Border *bd = data;
|
E_Border *bd = data;
|
||||||
|
|
||||||
if (grabbed) return;
|
if (grabbed) return;
|
||||||
if ((bd == focusing) || (bd == focused)) return;
|
|
||||||
if (focus_locked && (bd != warp_timer_border)) return;
|
if (focus_locked && (bd != warp_timer_border)) return;
|
||||||
if (e_object_is_del(E_OBJECT(bd))) return;
|
if (e_object_is_del(E_OBJECT(bd))) return;
|
||||||
if (bd->desk && bd->desk->animate_count) return;
|
if (bd->desk && bd->desk->animate_count) return;
|
||||||
|
@ -6386,7 +6385,6 @@ _e_border_cb_mouse_x_in(void *data EINA_UNUSED, int t EINA_UNUSED, Ecore_X_Event
|
||||||
bd = e_border_find_by_window(ev->event_win);
|
bd = e_border_find_by_window(ev->event_win);
|
||||||
if (!bd) return ECORE_CALLBACK_RENEW;
|
if (!bd) return ECORE_CALLBACK_RENEW;
|
||||||
if (bd->input_object) return ECORE_CALLBACK_RENEW;
|
if (bd->input_object) return ECORE_CALLBACK_RENEW;
|
||||||
if ((bd == focusing) || (bd == focused)) return ECORE_CALLBACK_RENEW;
|
|
||||||
if (focus_locked && (bd != warp_timer_border)) return ECORE_CALLBACK_RENEW;
|
if (focus_locked && (bd != warp_timer_border)) return ECORE_CALLBACK_RENEW;
|
||||||
if (e_object_is_del(E_OBJECT(bd))) return ECORE_CALLBACK_RENEW;
|
if (e_object_is_del(E_OBJECT(bd))) return ECORE_CALLBACK_RENEW;
|
||||||
if (bd->desk && bd->desk->animate_count) return ECORE_CALLBACK_RENEW;
|
if (bd->desk && bd->desk->animate_count) return ECORE_CALLBACK_RENEW;
|
||||||
|
|
Loading…
Reference in New Issue