diff options
author | Sebastian Wick <sebastian@sebastianwick.net> | 2019-04-09 12:18:25 +0200 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2019-04-20 10:57:06 +0000 |
commit | 1bdf36329557e6c846d5e51856eb8da00504212a (patch) | |
tree | 6181433185378241d430ac1d054068681db0af47 /clients | |
parent | 43152a3a8fa1e3164db33ac7ace105186c5e8ac8 (diff) | |
download | weston-1bdf36329557e6c846d5e51856eb8da00504212a.tar.gz weston-1bdf36329557e6c846d5e51856eb8da00504212a.tar.bz2 weston-1bdf36329557e6c846d5e51856eb8da00504212a.zip |
weston-terminal: Fix weston-terminal crash on mutter
Set up handlers for wl_data_source v3 events
Signed-off-by: Sebastian Wick <sebastian@sebastianwick.net>
Diffstat (limited to 'clients')
-rw-r--r-- | clients/terminal.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/clients/terminal.c b/clients/terminal.c index f7546ede..f7e9ba95 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -2207,10 +2207,29 @@ data_source_cancelled(void *data, struct wl_data_source *source) wl_data_source_destroy(source); } +static void +data_source_dnd_drop_performed(void *data, struct wl_data_source *source) +{ +} + +static void +data_source_dnd_finished(void *data, struct wl_data_source *source) +{ +} + +static void +data_source_action(void *data, + struct wl_data_source *source, uint32_t dnd_action) +{ +} + static const struct wl_data_source_listener data_source_listener = { data_source_target, data_source_send, - data_source_cancelled + data_source_cancelled, + data_source_dnd_drop_performed, + data_source_dnd_finished, + data_source_action }; static const char text_mime_type[] = "text/plain;charset=utf-8"; |