diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-16 14:39:44 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-23 09:43:59 +0000 |
| commit | 4f578189cc5ff6cd9be87db8c6b590804a49afa4 (patch) | |
| tree | 7ba73217a85d7bfe4cfaa92f0beedfbe2b13df10 /config.h | |
| parent | selection: 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |
