mirror of
https://github.com/lxsang/antd-wvnc-plugin.git
synced 2025-05-02 04:56:44 +02:00
Compare commits
No commits in common. "6c1df8e4d558fd88d94f3a78a504c922b4b2aa13" and "604aab8f0b2d4ced6ef9352ce1b6bf94182ae6a8" have entirely different histories.
6c1df8e4d5
...
604aab8f0b
10
wvnc.c
10
wvnc.c
@ -709,16 +709,6 @@ void event_loop(void *data)
|
|||||||
vncl->GetCredential = get_credential;
|
vncl->GetCredential = get_credential;
|
||||||
vncl->listenPort = LISTEN_PORT_OFFSET;
|
vncl->listenPort = LISTEN_PORT_OFFSET;
|
||||||
vncl->listen6Port = LISTEN_PORT_OFFSET;
|
vncl->listen6Port = LISTEN_PORT_OFFSET;
|
||||||
vncl->appData.useRemoteCursor = true;
|
|
||||||
// use server JPEG encoding
|
|
||||||
vncl->appData.enableJPEG = true;
|
|
||||||
vncl->appData.qualityLevel = user_data->quality / 10;
|
|
||||||
if(vncl->appData.qualityLevel > 9)
|
|
||||||
{
|
|
||||||
vncl->appData.qualityLevel = 9;
|
|
||||||
}
|
|
||||||
//user_data->quality
|
|
||||||
//vncl->GotCursorShape = cursor_changed;
|
|
||||||
user_data->status = READY; // 1 for ready for connect
|
user_data->status = READY; // 1 for ready for connect
|
||||||
user_data->vncl = vncl;
|
user_data->vncl = vncl;
|
||||||
rfbClientSetClientData(vncl, vncl, user_data);
|
rfbClientSetClientData(vncl, vncl, user_data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user