diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2022-01-21 21:05:32 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2022-01-21 21:05:32 +0000 |
commit | ea973717708a71b62e4661b4dad7b2bd15bc23ef (patch) | |
tree | 17a96af820787f00bbae2398270bf90046039c2f /src/bin/e_comp_x.c | |
parent | 921f5208e74e309dc96d202c424a5948d8ed1ec5 (diff) | |
download | enlightenment-ea973717708a71b62e4661b4dad7b2bd15bc23ef.tar.gz |
focus out - ignore all ungrabs as we unfocus a window that should be
this fixes a boundary case on mouse ungrabs
@fix
Diffstat (limited to 'src/bin/e_comp_x.c')
-rw-r--r-- | src/bin/e_comp_x.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 8bc2c99d6f..9dd8c32793 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -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 */ /* 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) return ECORE_CALLBACK_PASS_ON; 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) { |