summaryrefslogtreecommitdiffstats
path: root/vncviewer/OptionsDialog.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2016-03-29 14:15:38 +0200
committerPierre Ossman <ossman@cendio.se>2016-03-29 14:15:38 +0200
commitf862c2e8f4a783b74b3b813c95101e4e4427893b (patch)
treed6daeddeb1892dfa5a08b7959c7f31bef6cd77e8 /vncviewer/OptionsDialog.h
parenta37314575a85ed0a265fd3cf171d2ebc5613e3b9 (diff)
downloadtigervnc-f862c2e8f4a783b74b3b813c95101e4e4427893b.tar.gz
tigervnc-f862c2e8f4a783b74b3b813c95101e4e4427893b.zip
Add option to set primary selection for cut text
Previously the incoming clipboard was unconditionally set to both the PRIMARY and CLIPBOARD selection. This isn't always what the user want, so make it configurable.
Diffstat (limited to 'vncviewer/OptionsDialog.h')
-rw-r--r--vncviewer/OptionsDialog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vncviewer/OptionsDialog.h b/vncviewer/OptionsDialog.h
index 39bd7afa..6984c72f 100644
--- a/vncviewer/OptionsDialog.h
+++ b/vncviewer/OptionsDialog.h
@@ -106,6 +106,9 @@ protected:
/* Input */
Fl_Check_Button *viewOnlyCheckbox;
Fl_Check_Button *acceptClipboardCheckbox;
+#if !defined(WIN32) && !defined(__APPLE__)
+ Fl_Check_Button *setPrimaryCheckbox;
+#endif
Fl_Check_Button *sendClipboardCheckbox;
#if !defined(WIN32) && !defined(__APPLE__)
Fl_Check_Button *sendPrimaryCheckbox;