aboutsummaryrefslogtreecommitdiff
path: root/selection.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-09-10 05:36:19 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-09-10 05:36:19 +0000
commitfc510d423b1acf0b4c75f53b36edef9d0b135216 (patch)
treed0574e4830bccff656ad8153070e100d154768ad /selection.h
parentconfig: spelling: mosue -> mouse (diff)
parentosc52: use first source that actually *has* data (diff)
Merge branch 'osc52-clear-selection-on-invalid-payload' into master
Diffstat (limited to 'selection.h')
-rw-r--r--selection.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/selection.h b/selection.h
index 639c36e9..547da2fc 100644
--- a/selection.h
+++ b/selection.h
@@ -30,6 +30,12 @@ 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);
+
+bool selection_clipboard_has_data(const struct seat *seat);
+bool selection_primary_has_data(const struct seat *seat);
+
char *selection_to_text(const struct terminal *term);
void selection_to_clipboard(
struct seat *seat, struct terminal *term, uint32_t serial);