From 85aaa64f11c479ceb227104107b67f8675f1464e Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 3 Feb 2017 15:13:48 -0500 Subject: [PATCH] ignore intercepted mouse events for non-wl compositing --- src/bin/e_comp_canvas.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_comp_canvas.c b/src/bin/e_comp_canvas.c index becc89f09..fa51582d3 100644 --- a/src/bin/e_comp_canvas.c +++ b/src/bin/e_comp_canvas.c @@ -208,6 +208,7 @@ _e_comp_cb_mouse_move(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_Event_Mouse_ { static int x = -9999, y = -9999; + if (e_comp->comp_type != E_PIXMAP_TYPE_WL) return ECORE_CALLBACK_RENEW; if (x == -9999) x = ev->x, y = ev->y; if ((x == ev->x) && (y == ev->y)) return ECORE_CALLBACK_RENEW;