forked from enlightenment/enlightenment
only attempt to provide wayland drag motion data if drag exists
This commit is contained in:
parent
3dca058dfa
commit
106dfe4e21
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue