discomfitor pushed a commit to branch master.


commit db92edccf65b79345df8d35275aa6262bf53f9ad
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Jul 1 17:12:16 2015 -0400

    do not apply x11 focus grabs to internal elm clients
    due to recent changes in ecore-input-evas, mouse events are propagated
    differently; specifically, there are now "more" events than there 
previously were.
    as a result, grabs on internal wins are no longer necessary, though they 
    never were necessary after the elm conversion
    see 5cb6cdbc5e1a13ea0262e155983b494e6519abde in efl
 src/bin/e_comp_x.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index fe2e4ea..38dbb83 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -167,6 +167,7 @@ _e_comp_x_print_win(Ecore_X_Window win)
 static void
 _e_comp_x_focus_grab(E_Client *ec)
+   if (ec->internal_elm_win) return;
    ecore_x_window_button_grab(_e_comp_x_client_util_win_get(ec), 1,
                               ECORE_X_EVENT_MASK_MOUSE_DOWN |
                               ECORE_X_EVENT_MASK_MOUSE_UP |


Reply via email to