end wl xdnd drags on the compositor canvas using the full dnd end codepath

fix T2652
This commit is contained in:
Mike Blumenkrantz 2015-08-19 14:17:12 -04:00
parent fb79fff70d
commit 21ee21bc1f
1 changed files with 3 additions and 2 deletions

View File

@ -989,13 +989,14 @@ _e_drag_end(int x, int y)
if (win == e_comp->ee_win) break;
}
}
else
#endif
if ((e_comp->comp_type == E_PIXMAP_TYPE_WL) && (win == e_comp->ee_win))
break;
if (_drag_current->cb.finished)
_drag_current->cb.finished(_drag_current, dropped);
_drag_current->cb.finished = NULL;
_drag_current->ended = 1;
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
e_comp_ungrab_input(1, 1);
return;
}