From 106dfe4e214d64c2e1cbe0f39173480a11985b7e Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 6 Aug 2015 19:07:26 -0400 Subject: [PATCH] only attempt to provide wayland drag motion data if drag exists --- src/bin/e_comp_wl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 51d596eba..bdfda1bef 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -903,7 +903,7 @@ _e_comp_wl_cb_mouse_move(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_Event_Mou e_comp->wl_comp_data->ptr.x = wl_fixed_from_int(ev->x); e_comp->wl_comp_data->ptr.y = wl_fixed_from_int(ev->y); e_screensaver_notidle(); - if (e_comp->wl_comp_data->selection.target) + if (e_comp->wl_comp_data->selection.target && e_comp->wl_comp_data->drag) { struct wl_resource *res; int x, y;