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.
This commit is contained in:
Tilman Sauerbeck 2006-08-09 20:21:52 +02:00
parent 12dbd8a02f
commit c4f5de6cc3

View File

@ -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