chansrv: clipboard file copy / paste working now

This commit is contained in:
Jay Sorg
2012-11-05 01:04:04 -08:00
parent e2ef19098b
commit 77e74e8e68
5 changed files with 301 additions and 66 deletions
+12
View File
@@ -109,9 +109,21 @@ struct clip_c2s /* client to server, pasting from mstsc to linux app */
Atom property; /* XRDP_CLIP_PROPERTY_ATOM, _QT_SELECTION, ... */
Window window; /* Window used in INCR transfer */
int xrdp_clip_type; /* XRDP_CB_TEXT, XRDP_CB_BITMAP, XRDP_CB_FILE, ... */
int converted;
Time clip_time;
};
struct clip_file_desc /* CLIPRDR_FILEDESCRIPTOR */
{
tui32 flags;
tui32 fileAttributes;
tui32 lastWriteTimeLow;
tui32 lastWriteTimeHigh;
tui32 fileSizeHigh;
tui32 fileSizeLow;
char cFileName[256];
};
int APP_CC
clipboard_out_unicode(struct stream *s, char *text, int num_chars);
int APP_CC