xace: restore the old SaveScreens function and introduce new API, since the

old version is called from drivers...
This commit is contained in:
Eamon Walsh
2007-11-19 16:55:09 -05:00
committed by Eamon Walsh
parent a95bb52b43
commit 60be452c2e
14 changed files with 27 additions and 16 deletions

View File

@@ -3582,7 +3582,7 @@ int ProcForceScreenSaver(ClientPtr client)
client->errorValue = stuff->mode;
return BadValue;
}
rc = SaveScreens(client, SCREEN_SAVER_FORCER, (int)stuff->mode);
rc = dixSaveScreens(client, SCREEN_SAVER_FORCER, (int)stuff->mode);
if (rc != Success)
return rc;
return client->noClientException;