data-device: Check harder for selection/non-wayland sources
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 1 Feb 2016 19:28:16 +0000 (20:28 +0100)
committerBryce Harrington <bryce@bryceharrington.org>
Mon, 1 Feb 2016 21:22:34 +0000 (13:22 -0800)
commit4061e2b67e62d5d2a635f0b87098f331082e8145
treee91748bc3c26a4c9fd145021c6da26fce73d91ad
parentbeb7a9f92d00e83712c762fd8e2abd6f65773858
data-device: Check harder for selection/non-wayland sources

We're not always dealing with weston_data_sources that have a
wl_resource, or data_sources that belong to drag-and-drop. Check
harder for these on the drag-and-drop code paths triggered from
common code.

Signed-off-by: Carlos Garnacho <carlosg@gnome.org>
src/data-device.c