diff options
| author | Tom Harley | 2022-03-16 16:16:24 +0000 |
|---|---|---|
| committer | Tom Harley | 2022-03-16 16:16:24 +0000 |
| commit | 65a2a60215c5581b33dbdc04b4d5580b1c368a97 (patch) | |
| tree | 44a2b856181cdbada7a8d57637805a455c86c8da /SDL2_vnc.c | |
| parent | Add basic documentation (diff) | |
| download | sdl2_vnc-main.tar.gz sdl2_vnc-main.zip | |
Diffstat (limited to 'SDL2_vnc.c')
| -rw-r--r-- | SDL2_vnc.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -673,8 +673,8 @@ VNC_Result VNC_InitConnection(VNC_Connection *vnc, char *host, Uint16 port, COPY_RECT, RAW, PSEUDO_DESKTOP_SIZE, - PSEUDO_CONTINUOUS_UPDATES, - PSEUDO_CURSOR + PSEUDO_CONTINUOUS_UPDATES + // PSEUDO_CURSOR }; VNC_SetEncodings(vnc, encodings, (sizeof (encodings) / sizeof (VNC_RectangleEncodingMethod))); @@ -687,9 +687,8 @@ VNC_Result VNC_InitConnection(VNC_Connection *vnc, char *host, Uint16 port, return 0; } -int VNC_WaitOnConnection(VNC_Connection *vnc) { +void VNC_WaitOnConnection(VNC_Connection *vnc) { SDL_WaitThread(vnc->thread, NULL); - return 0; } Uint32 VNC_TranslateKey(SDL_KeyCode key, SDL_bool shift) { |
