From: Mike Blumenkrantz Date: Wed, 1 Jul 2015 21:01:54 +0000 (-0400) Subject: reject x11 replay clicks when event window != client window X-Git-Tag: upstream/0.20.0~646 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9eb3abd45ae55afdba72622e85d2e2802c5b62c1;p=platform%2Fupstream%2Fenlightenment.git reject x11 replay clicks when event window != client window --- diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index fe15835..fe2e4ea 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -2718,6 +2718,7 @@ _e_comp_x_grab_replay(void *data EINA_UNUSED, int type, void *event) ec = _e_comp_x_client_find_by_window(ev->event_window); if (!ec) return ECORE_CALLBACK_DONE; if (ec->cur_mouse_action) return ECORE_CALLBACK_DONE; + if (ev->event_window != _e_comp_x_client_util_win_get(ec)) return ECORE_CALLBACK_DONE; e_bindings_ecore_event_mouse_button_convert(ev, &ev2); return !e_bindings_mouse_button_find(E_BINDING_CONTEXT_WINDOW, &ev2, NULL);