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:
parent
12dbd8a02f
commit
c4f5de6cc3
|
@ -137,19 +137,13 @@ static const char CREATE_NEW_SCREEN_FUNC[] =
|
||||||
static void
|
static void
|
||||||
__glXDRIleaveServer(void)
|
__glXDRIleaveServer(void)
|
||||||
{
|
{
|
||||||
int i;
|
DRIBlockHandler(NULL, NULL, NULL);
|
||||||
|
|
||||||
for (i = 0; i < screenInfo.numScreens; i++)
|
|
||||||
DRIDoBlockHandler(i, NULL, NULL, NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
__glXDRIenterServer(void)
|
__glXDRIenterServer(void)
|
||||||
{
|
{
|
||||||
int i;
|
DRIWakeupHandler(NULL, 0, NULL);
|
||||||
|
|
||||||
for (i = 0; i < screenInfo.numScreens; i++)
|
|
||||||
DRIDoWakeupHandler(i, NULL, 0, NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue
Block a user