mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Use a transient object for the dnd session
This commit is contained in:
parent
5c63df7f1e
commit
e9d37bdc5f
10 changed files with 448 additions and 428 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue