do not send wl dnd positioning updates to xwl clients

This commit is contained in:
Mike Blumenkrantz 2015-08-07 21:04:07 -04:00
parent f124f1bf6e
commit c696fa7088
1 changed files with 3 additions and 1 deletions

View 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;