aboutsummaryrefslogtreecommitdiff
path: root/selection.h
diff options
context:
space:
mode:
Diffstat (limited to 'selection.h')
-rw-r--r--selection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/selection.h b/selection.h
index 84aed3f0..81eb3174 100644
--- a/selection.h
+++ b/selection.h
@@ -1,8 +1,13 @@
#pragma once
+#include <wayland-client.h>
+
#include "terminal.h"
+extern const struct wl_data_device_listener data_device_listener;
+
void selection_start(struct terminal *term, int col, int row);
void selection_update(struct terminal *term, int col, int row);
void selection_finalize(struct terminal *term);
void selection_cancel(struct terminal *term);
+void selection_to_clipboard(struct terminal *term, uint32_t serial);