summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/clipboard.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-11-04 13:52:33 -0800
committerJay Sorg <jay.sorg@gmail.com>2012-11-04 13:52:33 -0800
commite2ef19098b2ffbf52b7c03c9f015e49069553419 (patch)
tree6b6c506b0f87c8773fe1962c9a99f7c3dd62b90c /sesman/chansrv/clipboard.c
parent900d66dc6e3541f52a884e0755d903cde7ce90ef (diff)
downloadxrdp-proprietary-e2ef19098b2ffbf52b7c03c9f015e49069553419.tar.gz
xrdp-proprietary-e2ef19098b2ffbf52b7c03c9f015e49069553419.zip
chansrv: work on clipboard file copy
Diffstat (limited to 'sesman/chansrv/clipboard.c')
-rw-r--r--sesman/chansrv/clipboard.c74
1 files changed, 74 insertions, 0 deletions
diff --git a/sesman/chansrv/clipboard.c b/sesman/chansrv/clipboard.c
index 9a2ab708..e3018179 100644
--- a/sesman/chansrv/clipboard.c
+++ b/sesman/chansrv/clipboard.c
@@ -42,6 +42,76 @@ TIMESTAMP
wininfo - show window info
xlsatoms - dump atoms
+dolphin 1.4 KDE 4.4.5 copy one file
+text/uri-list
+text/x-moz-url
+text/plain
+UTF8_STRING
+STRING
+TEXT
+COMPOUND_TEXT
+application/x-qiconlist
+TARGETS
+MULTIPLE
+TIMESTAMP
+SAVE_TARGETS
+
+kolourpaint 4.4.5 KDE 4.4.5 copy image area
+application/x-kolourpaint-selection-400
+application/x-qt-image
+image/png
+image/bw
+image/eps
+image/epsf
+image/epsi
+image/pcx
+image/rgb
+image/rgba
+image/sgi
+image/tga
+image/bmp
+image/ico
+image/jp2
+image/jpeg
+image/jpg
+image/ppm
+PIXMAP
+image/tif
+image/tiff
+image/xbm
+image/xpm
+image/xv
+TARGETS
+MULTIPLE
+TIMESTAMP
+SAVE_TARGETS
+
+kate 3.4.5 KDE 4.4.5 copy text
+text/plain
+UTF8_STRING
+STRING
+TEXT
+COMPOUND_TEXT
+TARGETS
+MULTIPLE
+TIMESTAMP
+SAVE_TARGETS
+
+gimp 2.6.10 copy image area
+TIMESTAMP
+TARGETS
+MULTIPLE
+SAVE_TARGETS
+image/png
+image/bmp
+image/x-bmp
+image/x-MS-bmp
+image/tiff
+image/x-icon
+image/x-ico
+image/x-win-bitmap
+image/jpeg
+
*/
#include <X11/Xlib.h>
@@ -1280,6 +1350,10 @@ clipboard_data_in(struct stream *s, int chan_id, int chan_flags, int length,
rv = clipboard_process_file_request(ls, clip_msg_status,
clip_msg_len);
break;
+ case CB_FILECONTENTS_RESPONSE: /* 9 */
+ rv = clipboard_process_file_response(ls, clip_msg_status,
+ clip_msg_len);
+ break;
default:
LLOGLN(0, ("clipboard_data_in: unknown clip_msg_id %d", clip_msg_id));
LOGM((LOG_LEVEL_ERROR, "clipboard_data_in: unknown clip_msg_id %d",