diff options
author | Pierre Ossman <ossman@cendio.se> | 2019-05-02 12:32:03 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2019-07-01 10:48:21 +0200 |
commit | 66f1db543b425f6fe64d437477e6f78924ec57be (patch) | |
tree | 196c5e5fd095f6690da363d05be306ec877c13b0 /win/rfb_win32/SDisplay.h | |
parent | 546b2ad80a68e80a737aade06f0685cccb5e9716 (diff) | |
download | tigervnc-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 'win/rfb_win32/SDisplay.h')
-rw-r--r-- | win/rfb_win32/SDisplay.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/win/rfb_win32/SDisplay.h b/win/rfb_win32/SDisplay.h index 6dbfabbc..1773b785 100644 --- a/win/rfb_win32/SDisplay.h +++ b/win/rfb_win32/SDisplay.h @@ -1,4 +1,5 @@ /* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved. + * Copyright 2011-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 @@ -77,11 +78,11 @@ namespace rfb { const char* userName); virtual void pointerEvent(const Point& pos, int buttonmask); virtual void keyEvent(rdr::U32 keysym, rdr::U32 keycode, bool down); - virtual void clientCutText(const char* str, int len); + virtual void clientCutText(const char* str); // -=- Clipboard - virtual void notifyClipboardChanged(const char* text, int len); + virtual void notifyClipboardChanged(const char* text); // -=- Display events |