LibVNC / libvncserver

LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program.
GNU General Public License v2.0
1.1k stars 482 forks source link

libvncserver: fix pixel format equality for different values of trueColour #513

Closed aconverse closed 2 years ago

aconverse commented 2 years ago

Compare boolean truthiness only. The spec implies that only zero vs non-zero matters.

This allows using no-conversion with e.g. jump desktop client.

https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#setpixelformat