mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-07 21:31:53 +00:00
[PR #1518] dix: inline ProcSetScreenSaver()
PR: https://github.com/X11Libre/xserver/pull/1518
This commit is contained in:
@@ -3304,11 +3304,16 @@ ProcQueryBestSize(ClientPtr client)
|
||||
int
|
||||
ProcSetScreenSaver(ClientPtr client)
|
||||
{
|
||||
int blankingOption, exposureOption;
|
||||
|
||||
REQUEST(xSetScreenSaverReq);
|
||||
REQUEST_SIZE_MATCH(xSetScreenSaverReq);
|
||||
|
||||
if (client->swapped) {
|
||||
swaps(&stuff->timeout);
|
||||
swaps(&stuff->interval);
|
||||
}
|
||||
|
||||
int blankingOption, exposureOption;
|
||||
|
||||
DIX_FOR_EACH_SCREEN({
|
||||
int rc = dixCallScreensaverAccessCallback(client, walkScreen, DixSetAttrAccess);
|
||||
if (rc != Success)
|
||||
|
||||
@@ -758,16 +758,6 @@ SProcChangePointerControl(ClientPtr client)
|
||||
return ((*ProcVector[X_ChangePointerControl]) (client));
|
||||
}
|
||||
|
||||
int _X_COLD
|
||||
SProcSetScreenSaver(ClientPtr client)
|
||||
{
|
||||
REQUEST(xSetScreenSaverReq);
|
||||
REQUEST_SIZE_MATCH(xSetScreenSaverReq);
|
||||
swaps(&stuff->timeout);
|
||||
swaps(&stuff->interval);
|
||||
return ((*ProcVector[X_SetScreenSaver]) (client));
|
||||
}
|
||||
|
||||
int _X_COLD
|
||||
SProcChangeHosts(ClientPtr client)
|
||||
{
|
||||
|
||||
@@ -69,7 +69,6 @@ int SProcRotateProperties(ClientPtr client);
|
||||
int SProcSetClipRectangles(ClientPtr client);
|
||||
int SProcSetDashes(ClientPtr client);
|
||||
int SProcSetFontPath(ClientPtr client);
|
||||
int SProcSetScreenSaver(ClientPtr client);
|
||||
int SProcStoreColors(ClientPtr client);
|
||||
int SProcStoreNamedColor(ClientPtr client);
|
||||
int SProcTranslateCoords(ClientPtr client);
|
||||
|
||||
@@ -439,7 +439,7 @@ int (*SwappedProcVector[256]) (ClientPtr /* client */) = {
|
||||
ProcBell,
|
||||
SProcChangePointerControl, /* 105 */
|
||||
ProcGetPointerControl,
|
||||
SProcSetScreenSaver,
|
||||
ProcSetScreenSaver,
|
||||
ProcGetScreenSaver,
|
||||
SProcChangeHosts,
|
||||
ProcListHosts, /* 110 */
|
||||
|
||||
Reference in New Issue
Block a user