data_device: get rid of attach request

In the effort to make everything a regular surface, remove
data_device.attach request. To maintan the functionality, add
an icon surface parameter to data_device.start_drag.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
This commit is contained in:
Ander Conselvan de Oliveira 2012-02-15 17:02:52 +02:00 committed by Kristian Høgsberg
parent b3981136a1
commit 7243062f93
3 changed files with 35 additions and 19 deletions

View file

@ -212,6 +212,7 @@ struct wl_input_device {
struct wl_resource *drag_focus_resource;
struct wl_listener drag_focus_listener;
struct wl_grab drag_grab;
struct wl_surface *drag_surface;
struct wl_data_source *selection_data_source;
struct wl_listener selection_data_source_listener;