diff --git a/src/libvncclient/rfbclient.c b/src/libvncclient/rfbclient.c index 6f0afac2..1e1c4e57 100644 --- a/src/libvncclient/rfbclient.c +++ b/src/libvncclient/rfbclient.c @@ -2124,7 +2124,7 @@ HandleRFBServerMessage(rfbClient* client) if (!ReadFromRFBServer(client, ((char *)&screen), sz_rfbExtDesktopScreen)) { return FALSE; } - if (screen.id != 0 && screen.width && screen.height) { + if (screen.width && screen.height) { client->screen = screen; } else { invalidScreen = TRUE;