Jan Zerebecki : winex11.drv:
Change virtual desktop refresh rate from 0 to 60.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Mar 1 05:59:44 CST 2007
Module: wine
Branch: master
Commit: fbaf31c50fec4d9c5f476178bf832bf8a65ed111
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fbaf31c50fec4d9c5f476178bf832bf8a65ed111
Author: Jan Zerebecki <jan.wine at zerebecki.de>
Date: Thu Mar 1 07:57:41 2007 +0100
winex11.drv: Change virtual desktop refresh rate from 0 to 60.
---
dlls/winex11.drv/desktop.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/winex11.drv/desktop.c b/dlls/winex11.drv/desktop.c
index 9bcb334..c9e7a61 100644
--- a/dlls/winex11.drv/desktop.c
+++ b/dlls/winex11.drv/desktop.c
@@ -46,7 +46,7 @@ static void make_modes(void)
{
int i;
/* 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++)
{
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) ) )
{
/* 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))
{
/* 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);
}
}
More information about the wine-cvs
mailing list