forked from enlightenment/enlightenment
focus out - ignore all ungrabs as we unfocus a window that should be
this fixes a boundary case on mouse ungrabs @fix
This commit is contained in:
parent
921f5208e7
commit
ea97371770
|
@ -2872,10 +2872,12 @@ _e_comp_x_focus_out(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_
|
||||||
{
|
{
|
||||||
/* for firefox/thunderbird (xul) menu walking */
|
/* for firefox/thunderbird (xul) menu walking */
|
||||||
/* NB: why did i disable this before? */
|
/* NB: why did i disable this before? */
|
||||||
|
return ECORE_CALLBACK_PASS_ON;
|
||||||
|
/* why only filter these out for an ungrab? skip all ungrabs...
|
||||||
if (ev->detail == ECORE_X_EVENT_DETAIL_INFERIOR)
|
if (ev->detail == ECORE_X_EVENT_DETAIL_INFERIOR)
|
||||||
return ECORE_CALLBACK_PASS_ON;
|
return ECORE_CALLBACK_PASS_ON;
|
||||||
else if (ev->detail == ECORE_X_EVENT_DETAIL_POINTER)
|
else if (ev->detail == ECORE_X_EVENT_DETAIL_POINTER)
|
||||||
return ECORE_CALLBACK_PASS_ON;
|
return ECORE_CALLBACK_PASS_ON; */
|
||||||
}
|
}
|
||||||
else if (ev->mode == ECORE_X_EVENT_MODE_WHILE_GRABBED)
|
else if (ev->mode == ECORE_X_EVENT_MODE_WHILE_GRABBED)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue