quamotion / remoteviewing

RemoteViewing is a .NET-native VNC client and server library.
Other
262 stars 77 forks source link

Only call ClientFramebufferUpdateRequestHook when supported #116

Closed qmfrederik closed 4 years ago

qmfrederik commented 4 years ago

ClientFramebufferUpdateRequestHook was added in https://github.com/LibVNC/libvncserver/commit/5eac9fa4b59d4628b49273dec142ec3e77cd65cb, which is not part of any released version of libvncserver, though it will likely ship in 0.9.13.

Detect 0.9.13 by checking for rfbDefaultSetDesktopSize which was added in https://github.com/LibVNC/libvncserver/commit/8e41510f4a9d449dd228e5b3e29732882f7f5df6, which is also a 0.9.13-only change.