projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa68455
)
reject x11 replay clicks when event window != client window
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Wed, 1 Jul 2015 21:01:54 +0000
(17:01 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Wed, 1 Jul 2015 21:01:54 +0000
(17:01 -0400)
src/bin/e_comp_x.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_x.c
b/src/bin/e_comp_x.c
index
fe15835
..
fe2e4ea
100644
(file)
--- 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);