Sends response for SetDesktopSize as per the community wiki
specification
{
unsigned int result;
- if (!accessCheck(AccessSetDesktopSize)) return;
- if (!rfb::Server::acceptSetDesktopSize) return;
+ if (!accessCheck(AccessSetDesktopSize) || !rfb::Server::acceptSetDesktopSize)
+ result = resultProhibited;
+ else
+ result = server->setDesktopSize(this, fb_width, fb_height, layout);
- result = server->setDesktopSize(this, fb_width, fb_height, layout);
writer()->writeDesktopSize(reasonClient, result);
}