[PATCH 2/4] Removed default drag types.
Joel Teichroeb
joel at teichroeb.net
Tue Nov 30 10:22:14 PST 2010
The window no longer assumes that the client wants to have text/plain
and text/html draged onto it. The client will have to tell wayland about
the things it wants dragged manually.
---
clients/window.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/clients/window.c b/clients/window.c
index f720bf8..f91977e 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -996,8 +996,6 @@ window_start_drag(struct window *window, struct input *input, uint32_t time,
cairo_device_flush (window->display->device);
drag = wl_shell_create_drag(window->display->shell);
- wl_drag_offer(drag, "text/plain");
- wl_drag_offer(drag, "text/html");
wl_drag_activate(drag, window->surface, input->input_device, time);
wl_drag_add_listener(drag, listener, data);
--
1.7.3.2
More information about the wayland-devel
mailing list