aboutsummaryrefslogtreecommitdiff
path: root/selection.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-11 10:33:31 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-11 15:38:02 +0000
commit482c8f76a99d85970a40f41e455fc6be80b2a5ba (patch)
tree0bb226df7de0c7ce8340bf573c4a2ce1de563c43 /selection.h
parentselection: initial copy-to-clipboard functionality (diff)
selection: add support for pasting from clipboard
Diffstat (limited to 'selection.h')
-rw-r--r--selection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/selection.h b/selection.h
index 81eb3174..41fc5bbb 100644
--- a/selection.h
+++ b/selection.h
@@ -10,4 +10,6 @@ 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);
+void selection_from_clipboard(struct terminal *term, uint32_t serial);