aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-16 10:26:03 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-23 09:43:59 +0000
commite69ca255b03cf71c07d39747510f3ff82e8f98ca (patch)
treeeed997a9171e32dc1b2f1ea36a620d0c6ca8a3dd /config.h
parentMerge branch 'mouse-button-encoding-of-button-6-7' (diff)
config: add new option ‘selection-target’
This option controls the clipboard target that selected text should be copied to.
Diffstat (limited to 'config.h')
-rw-r--r--config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h b/config.h
index 2bae8d31..3dc976e1 100644
--- a/config.h
+++ b/config.h
@@ -181,6 +181,11 @@ struct config {
char *server_socket_path;
bool presentation_timings;
bool hold_at_exit;
+ enum {
+ SELECTION_TARGET_PRIMARY,
+ SELECTION_TARGET_CLIPBOARD,
+ SELECTION_TARGET_BOTH
+ } selection_target;
struct {
char *raw_cmd;