summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2014-07-15 16:48:06 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2014-07-21 12:20:47 +0200
commit658c4d76e2aff9441614dcd09821057b9fd8c8c2 (patch)
treef336ae5fefb0c9b99d3aaf12fc645e17b164374a
parentb87fab52eb825429e5393ac4c2c073c918d8ed8f (diff)
downloadvd_agent-658c4d76e2aff9441614dcd09821057b9fd8c8c2.tar.gz
vd_agent-658c4d76e2aff9441614dcd09821057b9fd8c8c2.tar.xz
vd_agent-658c4d76e2aff9441614dcd09821057b9fd8c8c2.zip
Handle STRING selection type
This is to please vncviewer. https://bugzilla.redhat.com/show_bug.cgi?id=1117764
-rw-r--r--src/vdagent-x11-priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vdagent-x11-priv.h b/src/vdagent-x11-priv.h
index 4a5729b..38f852e 100644
--- a/src/vdagent-x11-priv.h
+++ b/src/vdagent-x11-priv.h
@@ -64,8 +64,8 @@ struct monitor_size {
};
static const struct clipboard_format_tmpl clipboard_format_templates[] = {
- { VD_AGENT_CLIPBOARD_UTF8_TEXT, { "UTF8_STRING",
- "text/plain;charset=UTF-8", "text/plain;charset=utf-8", NULL }, },
+ { VD_AGENT_CLIPBOARD_UTF8_TEXT, { "UTF8_STRING", "text/plain;charset=UTF-8",
+ "text/plain;charset=utf-8", "STRING", NULL }, },
{ VD_AGENT_CLIPBOARD_IMAGE_PNG, { "image/png", NULL }, },
{ VD_AGENT_CLIPBOARD_IMAGE_BMP, { "image/bmp", "image/x-bmp",
"image/x-MS-bmp", "image/x-win-bitmap", NULL }, },