Commit 6436600d authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

winex11.drv: Allow reporting a virtual desktop mode with the same width or…

winex11.drv: Allow reporting a virtual desktop mode with the same width or height as the current mode. Signed-off-by: 's avatarZhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 0bf52b09
...@@ -108,7 +108,7 @@ static void make_modes(void) ...@@ -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) */ /* root window size (if different from desktop window) */
X11DRV_Settings_AddOneMode(max_width, max_height, 0, 60); X11DRV_Settings_AddOneMode(max_width, max_height, 0, 60);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment