[Spice-devel] [vdagent-win PATCH 1/4] clipboard: log format used
Uri Lublin
uril at redhat.com
Tue Jul 11 15:54:46 UTC 2017
Signed-off-by: Uri Lublin <uril at redhat.com>
---
vdagent/vdagent.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp
index cd49755..b71919b 100644
--- a/vdagent/vdagent.cpp
+++ b/vdagent/vdagent.cpp
@@ -1053,8 +1053,8 @@ bool VDAgent::handle_clipboard_grab(VDAgentClipboardGrab* clipboard_grab, uint32
_grab_types.clear();
for (uint32_t i = 0; i < size / sizeof(clipboard_grab->types[0]); i++) {
- vd_printf("grab type %u", clipboard_grab->types[i]);
uint32_t format = get_clipboard_format(clipboard_grab->types[i]);
+ vd_printf("grab type %u format=%u", clipboard_grab->types[i], format);
//On first supported type, open and empty the clipboard
if (format && grab_formats.empty()) {
if (!OpenClipboard(_hwnd)) {
--
2.13.0
More information about the Spice-devel
mailing list