From e69ca255b03cf71c07d39747510f3ff82e8f98ca Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 16 Jan 2021 11:26:03 +0100 Subject: config: add new option ‘selection-target’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This option controls the clipboard target that selected text should be copied to. --- config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config.h') 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; -- cgit v1.3