diff --git a/src/protocols/vnc/display.c b/src/protocols/vnc/display.c index e377e4a3d..9b029d781 100644 --- a/src/protocols/vnc/display.c +++ b/src/protocols/vnc/display.c @@ -189,12 +189,6 @@ static rfbBool guac_vnc_send_desktop_size(rfbClient* client, int width, int heig width, height); #ifdef LIBVNC_CLIENT_HAS_SCREEN - /* Don't send an update if the sreen appears to be uninitialized. */ - if (client->screen.width == 0 || client->screen.height == 0) { - guac_client_log(gc, GUAC_LOG_ERROR, "Screen has not been initialized, cannot send resize."); - return FALSE; - } - /* Don't send an update if the requested dimensions are identical to current dimensions. */ if (client->screen.width == rfbClientSwap16IfLE(width) && client->screen.height == rfbClientSwap16IfLE(height)) { guac_client_log(gc, GUAC_LOG_WARNING, "Screen size has not changed, not sending update.");