data-device: notify the compositor about new drag icons

Let the compositor use a listener to be notified when a new drag icon
is set up.
This commit is contained in:
Ander Conselvan de Oliveira 2012-03-27 17:36:35 +03:00 committed by Kristian Høgsberg
parent 83685c506e
commit 897a4ec62d
3 changed files with 8 additions and 0 deletions

View file

@ -233,6 +233,7 @@ struct wl_input_device {
struct wl_pointer_grab drag_grab;
struct wl_surface *drag_surface;
struct wl_listener drag_icon_listener;
struct wl_list drag_icon_listener_list;
struct wl_data_source *selection_data_source;
struct wl_listener selection_data_source_listener;