Move server cut text handler to Viewport
That way both incoming and outgoing clipboard are both in the same
place, making things clearer.
diff --git a/vncviewer/Viewport.h b/vncviewer/Viewport.h
index 3895fc7..7acf348 100644
--- a/vncviewer/Viewport.h
+++ b/vncviewer/Viewport.h
@@ -43,6 +43,9 @@
// Flush updates to screen
void updateWindow();
+ // Incoming clipboard from server
+ void serverCutText(const char* str, rdr::U32 len);
+
// New image for the locally rendered cursor
void setCursor(int width, int height, const rfb::Point& hotspot,
const rdr::U8* data);