summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/vncSelection.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-05-02 12:32:03 +0200
committerPierre Ossman <ossman@cendio.se>2019-07-01 10:48:21 +0200
commit66f1db543b425f6fe64d437477e6f78924ec57be (patch)
tree196c5e5fd095f6690da363d05be306ec877c13b0 /unix/xserver/hw/vnc/vncSelection.h
parent546b2ad80a68e80a737aade06f0685cccb5e9716 (diff)
downloadtigervnc-66f1db543b425f6fe64d437477e6f78924ec57be.tar.gz
tigervnc-66f1db543b425f6fe64d437477e6f78924ec57be.zip
Clean up internal clipboard handling
We now filter incoming data, which means we can start assuming the clipboard data is always null terminated. This allows us to clean up a lot of the internal handling.
Diffstat (limited to 'unix/xserver/hw/vnc/vncSelection.h')
-rw-r--r--unix/xserver/hw/vnc/vncSelection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/xserver/hw/vnc/vncSelection.h b/unix/xserver/hw/vnc/vncSelection.h
index 969f8958..e11d4a49 100644
--- a/unix/xserver/hw/vnc/vncSelection.h
+++ b/unix/xserver/hw/vnc/vncSelection.h
@@ -1,4 +1,4 @@
-/* Copyright 2016 Pierre Ossman for Cendio AB
+/* Copyright 2016-2019 Pierre Ossman for Cendio AB
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -24,7 +24,7 @@ extern "C" {
void vncSelectionInit(void);
-void vncClientCutText(const char* str, int len);
+void vncClientCutText(const char* str);
#ifdef __cplusplus
}