From b50ec1a8500bab8e88b9ca2517d5e1f11adb98b4 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 11 Jul 2019 12:16:50 +0200 Subject: selection: initial copy-to-clipboard functionality --- selection.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'selection.h') 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 + #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); -- cgit v1.3