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:
parent
0bf52b09f2
commit
6436600db5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue