xwayland: send DND_DROP

This commit is contained in:
emersion 2018-03-28 15:33:23 -04:00
parent 73394deb76
commit 2a34b154e6
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
5 changed files with 123 additions and 4 deletions

View file

@ -108,6 +108,7 @@ struct wlr_drag {
struct {
struct wl_signal focus;
struct wl_signal motion;
struct wl_signal drop;
struct wl_signal destroy;
} events;
};
@ -118,6 +119,11 @@ struct wlr_drag_motion_event {
double sx, sy;
};
struct wlr_drag_drop_event {
struct wlr_drag *drag;
uint32_t time;
};
/**
* Create a wl data device manager global for this display.
*/