aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-16 14:39:44 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-23 09:43:59 +0000
commit4f578189cc5ff6cd9be87db8c6b590804a49afa4 (patch)
tree7ba73217a85d7bfe4cfaa92f0beedfbe2b13df10 /config.h
parentselection: copy selected text to the target configured by ‘selection-target’ (diff)
config: add ‘none’ as a possible value for ‘selection-target’
When ‘selection-target’ is set to ‘none’, selecting text does not copy the text to _any_ clipboard. This patch also refactors the value parsing to be data driven.
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index 3dc976e1..1c349f2a 100644
--- a/config.h
+++ b/config.h
@@ -182,6 +182,7 @@ struct config {
bool presentation_timings;
bool hold_at_exit;
enum {
+ SELECTION_TARGET_NONE,
SELECTION_TARGET_PRIMARY,
SELECTION_TARGET_CLIPBOARD,
SELECTION_TARGET_BOTH