From c3cacb470430f3a19db8e2442f1ed61887044373 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 9 Sep 2020 18:44:49 +0200 Subject: selection: add selection__unset() These functions clear the current selection. --- selection.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'selection.h') diff --git a/selection.h b/selection.h index 639c36e9..178a990b 100644 --- a/selection.h +++ b/selection.h @@ -30,6 +30,9 @@ void selection_mark_word( void selection_mark_row( struct seat *seat, struct terminal *term, int row, uint32_t serial); +void selection_clipboard_unset(struct seat *seat); +void selection_primary_unset(struct seat *seat); + char *selection_to_text(const struct terminal *term); void selection_to_clipboard( struct seat *seat, struct terminal *term, uint32_t serial); -- cgit v1.3