summaryrefslogtreecommitdiff
path: root/clients/dnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'clients/dnd.c')
-rw-r--r--clients/dnd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/clients/dnd.c b/clients/dnd.c
index 66ba2ce..2b0faaa 100644
--- a/clients/dnd.c
+++ b/clients/dnd.c
@@ -247,9 +247,7 @@ data_source_target(void *data,
struct dnd *dnd = dnd_drag->dnd;
cairo_surface_t *surface;
struct wl_buffer *buffer;
- struct wl_data_device *device;
- device = input_get_data_device(dnd_drag->input);
dnd_drag->mime_type = mime_type;
if (mime_type)
surface = dnd_drag->opaque;