shithub: drawterm

Download patch

ref: 8391a9e364622cb7d85e128b427fb96c75e18265
parent: c0951f2a3182d8b70ffe579bfd9da24c2b86e232
author: Jacob Moody <moody@posixcafe.org>
date: Thu May 23 13:12:59 EDT 2024

gui-wl: fix crash with clipboard on kwin

--- a/gui-wl/wl-cb.c
+++ b/gui-wl/wl-cb.c
@@ -530,7 +530,14 @@
 	wl_data_source_destroy(source);
 }
 
+static void
+data_source_handle_target(void *data, struct wl_data_source *source, const char *mime_type)
+{
+
+}
+
 static const struct wl_data_source_listener data_source_listener = {
+	.target = data_source_handle_target,
 	.send = data_source_handle_send,
 	.cancelled = data_source_handle_cancelled,
 };