summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--gtk/spice-widget.c21
2 files changed, 21 insertions, 1 deletions
diff --git a/TODO b/TODO
index 9ef7582..9e15711 100644
--- a/TODO
+++ b/TODO
@@ -1,5 +1,4 @@
* sync audio with GStreamer backend
* multihead
* use libspice-common instead of common/
-* clipboard images
* TunnelChannel?
diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c
index cfd8149..72cbd9c 100644
--- a/gtk/spice-widget.c
+++ b/gtk/spice-widget.c
@@ -996,6 +996,27 @@ static const struct {
},{
.vdagent = VD_AGENT_CLIPBOARD_UTF8_TEXT,
.xatom = "text/plain"
+ },{
+ .vdagent = VD_AGENT_CLIPBOARD_IMAGE_PNG,
+ .xatom = "image/png"
+ },{
+ .vdagent = VD_AGENT_CLIPBOARD_IMAGE_BMP,
+ .xatom = "image/bmp"
+ },{
+ .vdagent = VD_AGENT_CLIPBOARD_IMAGE_BMP,
+ .xatom = "image/x-bmp"
+ },{
+ .vdagent = VD_AGENT_CLIPBOARD_IMAGE_BMP,
+ .xatom = "image/x-MS-bmp"
+ },{
+ .vdagent = VD_AGENT_CLIPBOARD_IMAGE_BMP,
+ .xatom = "image/x-win-bitmap"
+ },{
+ .vdagent = VD_AGENT_CLIPBOARD_IMAGE_TIFF,
+ .xatom = "image/tiff"
+ },{
+ .vdagent = VD_AGENT_CLIPBOARD_IMAGE_JPG,
+ .xatom = "image/jpeg"
}
};