This pull request modifies the screen validation logic in the libvncclient library when handling the ExtendedDesktopSize message. The previous implementation checked if screen.id was not equal to 0, along with validating screen.width and screen.height. However, this caused issues with certain VNC server implementations, such as TigerVNC, which may return a screen.id of 0.which will cause the resize not to work correctly
This pull request modifies the screen validation logic in the libvncclient library when handling the ExtendedDesktopSize message. The previous implementation checked if screen.id was not equal to 0, along with validating screen.width and screen.height. However, this caused issues with certain VNC server implementations, such as TigerVNC, which may return a screen.id of 0.which will cause the resize not to work correctly