Send pointer cursor by default, until overridden by VNC server.

This commit is contained in:
Michael Jumper 2014-01-02 12:32:25 -08:00
parent 7643d61c7e
commit 54b16f2db4

View File

@ -25,6 +25,7 @@
#include "client.h" #include "client.h"
#include "dot_cursor.h" #include "dot_cursor.h"
#include "guac_handlers.h" #include "guac_handlers.h"
#include "pointer_cursor.h"
#include "vnc_handlers.h" #include "vnc_handlers.h"
#include <stdlib.h> #include <stdlib.h>
@ -357,6 +358,10 @@ int guac_client_init(guac_client* client, int argc, char** argv) {
if (guac_client_data->remote_cursor) if (guac_client_data->remote_cursor)
guac_vnc_set_dot_cursor(client); guac_vnc_set_dot_cursor(client);
/* Otherwise, set pointer until explicitly requested otherwise */
else
guac_vnc_set_pointer_cursor(client);
} }
/* Send name */ /* Send name */