do not send wl dnd positioning updates to xwl clients
authorMike Blumenkrantz <zmike@osg.samsung.com>
Sat, 8 Aug 2015 01:04:07 +0000 (21:04 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Sat, 8 Aug 2015 01:07:34 +0000 (21:07 -0400)
src/bin/e_comp_wl.c

index 97ed026195d34b3ff24f7749a9f365f61c692187..fbf472304fc2d86d53d031fb195d0982fc772633 100644 (file)
@@ -903,7 +903,9 @@ _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 && e_comp->wl_comp_data->drag)
+   if (e_comp->wl_comp_data->selection.target &&
+       (!e_client_has_xwindow(e_comp->wl_comp_data->selection.target)) &&
+       e_comp->wl_comp_data->drag)
      {
         struct wl_resource *res;
         int x, y;