winex11.drv: Allow reporting a virtual desktop mode with the same width or height as the current mode.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2020-07-22 15:24:14 +08:00 committed by Alexandre Julliard
parent 0bf52b09f2
commit 6436600db5
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ static void make_modes(void)
}
}
}
if ((max_width != screen_width) && (max_height != screen_height))
if ((max_width != screen_width) || (max_height != screen_height))
{
/* root window size (if different from desktop window) */
X11DRV_Settings_AddOneMode(max_width, max_height, 0, 60);