Added clipboard support.

This commit is contained in:
Michael Jumper committed 2010-09-11 14:53:28 -07:00
1 parent 72ba6fcaa0
commit e1a6378607
7 files changed
+118 -3

No files matched your search

+8
View File
@@ -120,6 +120,14 @@ void guac_start_client(guac_client* client) {
);
}
else if (strcmp(instruction.opcode, "clipboard") == 0) {
if (client->clipboard_handler)
client->clipboard_handler(
client,
guac_unescape_string_inplace(instruction.argv[0]) /* data */
);
}
} while ((retval = guac_read_instruction(io, &instruction)) > 0);
if (retval < 0)