discomfitor pushed a commit to branch enlightenment-0.19.


commit 7203abf8a3dd36fbd4afb1d7bed240bad0742f82
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Jul 27 13:23:13 2015 -0400

    allow x11 mouse wheel events to check ev->event_window for possible client 
    in the event that these windows are different, event_window is the parent 
of window
    which may or may not be explicitly tracked by an E_Client, so the wheel 
events here
    should be sent to the parent as is done in mouse button events
    fix T2604
 src/bin/e_comp_x.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index b8a48d2..acaa9fd 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -2122,6 +2122,8 @@ _e_comp_x_mouse_wheel(void *d EINA_UNUSED, int t 
EINA_UNUSED, Ecore_Event_Mouse_
         ec = _e_comp_x_client_find_by_window(ev->window);
+        if ((!ec) && (ev->window != ev->event_window))
+          ec = _e_comp_x_client_find_by_window(ev->event_window);
         if (!ec) return ECORE_CALLBACK_RENEW;
    if (ec->comp_data->deleted) return ECORE_CALLBACK_RENEW;


Reply via email to