Use a transient object for the dnd session

This commit is contained in:
Kristian Høgsberg 2010-09-02 20:22:42 -04:00
parent 5c63df7f1e
commit e9d37bdc5f
10 changed files with 448 additions and 428 deletions

View file

@ -124,8 +124,13 @@ struct wl_visual {
struct wl_object base;
};
struct wl_drag {
struct wl_drag_offer {
struct wl_object base;
};
struct wl_drag {
struct wl_resource resource;
struct wl_drag_offer drag_offer;
struct wl_surface *source;
struct wl_surface *pointer_focus;
struct wl_client *target;
@ -133,7 +138,7 @@ struct wl_drag {
struct wl_input_device *input_device;
struct wl_array types;
const char *type;
uint32_t time;
uint32_t pointer_focus_time;
};
void