Use only remote cursor

This commit is contained in:
DanyLE 2023-08-07 16:59:21 +02:00
parent 604aab8f0b
commit 9c7f4d1cba

2
wvnc.c
View File

@ -709,6 +709,8 @@ void event_loop(void *data)
vncl->GetCredential = get_credential;
vncl->listenPort = LISTEN_PORT_OFFSET;
vncl->listen6Port = LISTEN_PORT_OFFSET;
vncl->appData.useRemoteCursor = true;
//vncl->GotCursorShape = cursor_changed;
user_data->status = READY; // 1 for ready for connect
user_data->vncl = vncl;
rfbClientSetClientData(vncl, vncl, user_data);