From c4f5de6cc3b935025829af971b0b8010c1ecfedb Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Wed, 9 Aug 2006 20:21:52 +0200 Subject: [PATCH 1/3] Sanitized glxdri's Block/Wakeuphandler calling. __glXDRIleaveServer() and _enterServer() used to call DRIDoBlockHandler (resp DRIDoWakeupHandler) directly. They are now calling DRIBlockHandler (resp DRIWakeupHandler) to account for driver specific block/wakeup hooks. --- GL/glx/glxdri.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/GL/glx/glxdri.c b/GL/glx/glxdri.c index 6a1055439..cfa9996df 100644 --- a/GL/glx/glxdri.c +++ b/GL/glx/glxdri.c @@ -137,19 +137,13 @@ static const char CREATE_NEW_SCREEN_FUNC[] = static void __glXDRIleaveServer(void) { - int i; - - for (i = 0; i < screenInfo.numScreens; i++) - DRIDoBlockHandler(i, NULL, NULL, NULL); + DRIBlockHandler(NULL, NULL, NULL); } static void __glXDRIenterServer(void) { - int i; - - for (i = 0; i < screenInfo.numScreens; i++) - DRIDoWakeupHandler(i, NULL, 0, NULL); + DRIWakeupHandler(NULL, 0, NULL); } static void From fcd4167e8913f77bdf9e17a6955d0f2a9f4eeb10 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 9 Aug 2006 14:48:51 -0400 Subject: [PATCH 2/3] Remove the bc flag from the -help text, since it's gone. --- os/utils.c | 1 - 1 file changed, 1 deletion(-) diff --git a/os/utils.c b/os/utils.c index 7a4bd1175..b15700f85 100644 --- a/os/utils.c +++ b/os/utils.c @@ -580,7 +580,6 @@ void UseMsg(void) #endif ErrorF("-audit int set audit trail level\n"); ErrorF("-auth file select authorization file\n"); - ErrorF("bc enable bug compatibility\n"); ErrorF("-br create root window with black background\n"); ErrorF("+bs enable any backing store support\n"); ErrorF("-bs disable any backing store support\n"); From db82e12fac5eaa16a39fc1bd0bc31ad95089dc95 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 9 Aug 2006 14:55:17 -0400 Subject: [PATCH 3/3] Remove TargetRefresh option from the autoconfig logic. The default target of 75Hz is almost always wrong for LCDs. --- hw/xfree86/common/xf86AutoConfig.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c index 37cf52e34..4dcc997c1 100644 --- a/hw/xfree86/common/xf86AutoConfig.c +++ b/hw/xfree86/common/xf86AutoConfig.c @@ -71,7 +71,6 @@ #define BUILTIN_MONITOR_SECTION \ "Section \"Monitor\"\n" \ "\tIdentifier\t" BUILTIN_MONITOR_NAME "\n" \ - "\tOption\t\"TargetRefresh\"\t\"75.0\"\n" \ "EndSection\n\n" #define BUILTIN_SCREEN_NAME \