mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 07:44:47 +00:00
winex11.drv: Change virtual desktop refresh rate from 0 to 60.
This commit is contained in:
parent
d113419682
commit
fbaf31c50f
|
@ -46,7 +46,7 @@ static void make_modes(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
/* original specified desktop size */
|
/* original specified desktop size */
|
||||||
X11DRV_Settings_AddOneMode(screen_width, screen_height, 0, 0);
|
X11DRV_Settings_AddOneMode(screen_width, screen_height, 0, 60);
|
||||||
for (i=0; i<NUM_DESKTOP_MODES; i++)
|
for (i=0; i<NUM_DESKTOP_MODES; i++)
|
||||||
{
|
{
|
||||||
if ( (widths[i] <= max_width) && (heights[i] <= max_height) )
|
if ( (widths[i] <= max_width) && (heights[i] <= max_height) )
|
||||||
|
@ -55,14 +55,14 @@ static void make_modes(void)
|
||||||
( (widths[i] != screen_width) || (heights[i] != screen_height) ) )
|
( (widths[i] != screen_width) || (heights[i] != screen_height) ) )
|
||||||
{
|
{
|
||||||
/* only add them if they are smaller than the root window and unique */
|
/* only add them if they are smaller than the root window and unique */
|
||||||
X11DRV_Settings_AddOneMode(widths[i], heights[i], 0, 0);
|
X11DRV_Settings_AddOneMode(widths[i], heights[i], 0, 60);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
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, 0);
|
X11DRV_Settings_AddOneMode(max_width, max_height, 0, 60);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue