|
|
a547b4 |
From cc07f85852d9dbb5e160d27804aec445f73f5833 Mon Sep 17 00:00:00 2001
|
|
|
a547b4 |
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>
|
|
|
a547b4 |
Date: Tue, 15 Jul 2014 16:48:06 +0200
|
|
|
a547b4 |
Subject: [PATCH] Handle STRING selection type
|
|
|
a547b4 |
|
|
|
a547b4 |
This is to please vncviewer.
|
|
|
a547b4 |
|
|
|
a547b4 |
https://bugzilla.redhat.com/show_bug.cgi?id=1117764
|
|
|
a547b4 |
(cherry picked from commit 658c4d76e2aff9441614dcd09821057b9fd8c8c2)
|
|
|
a547b4 |
---
|
|
|
a547b4 |
src/vdagent-x11-priv.h | 4 ++--
|
|
|
a547b4 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
a547b4 |
|
|
|
a547b4 |
diff --git a/src/vdagent-x11-priv.h b/src/vdagent-x11-priv.h
|
|
|
a547b4 |
index 4a5729b..38f852e 100644
|
|
|
a547b4 |
--- a/src/vdagent-x11-priv.h
|
|
|
a547b4 |
+++ b/src/vdagent-x11-priv.h
|
|
|
a547b4 |
@@ -64,8 +64,8 @@ struct monitor_size {
|
|
|
a547b4 |
};
|
|
|
a547b4 |
|
|
|
a547b4 |
static const struct clipboard_format_tmpl clipboard_format_templates[] = {
|
|
|
a547b4 |
- { VD_AGENT_CLIPBOARD_UTF8_TEXT, { "UTF8_STRING",
|
|
|
a547b4 |
- "text/plain;charset=UTF-8", "text/plain;charset=utf-8", NULL }, },
|
|
|
a547b4 |
+ { VD_AGENT_CLIPBOARD_UTF8_TEXT, { "UTF8_STRING", "text/plain;charset=UTF-8",
|
|
|
a547b4 |
+ "text/plain;charset=utf-8", "STRING", NULL }, },
|
|
|
a547b4 |
{ VD_AGENT_CLIPBOARD_IMAGE_PNG, { "image/png", NULL }, },
|
|
|
a547b4 |
{ VD_AGENT_CLIPBOARD_IMAGE_BMP, { "image/bmp", "image/x-bmp",
|
|
|
a547b4 |
"image/x-MS-bmp", "image/x-win-bitmap", NULL }, },
|