discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=106dfe4e214d64c2e1cbe0f39173480a11985b7e

commit 106dfe4e214d64c2e1cbe0f39173480a11985b7e
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Aug 6 19:07:26 2015 -0400

    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 51d596e..bdfda1b 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;

-- 


Reply via email to