if client request resolution is bigger than server,
set to server resolution to client.
Change-Id: I1a63093c6d7997b8c897b9d87d4181fa8f7d04a0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
if (output->w != settings->DesktopWidth || output->h != settings->DesktopHeight)
{
- if (b->no_clients_resize || b->client_count > 0)
+ if (b->no_clients_resize || b->client_count > 0 ||
+ (settings->DesktopWidth > output->primary_w || settings->DesktopHeight > output->primary_h))
{
/* RDP peers don't dictate their resolution to e */
if (!settings->DesktopResize)