(!1639) randr: drop now obsolete swap procs
Several SProc's have become no-ops, just calling the actual Proc's, so we can get rid of them entirely. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
683f76224a
commit
df57469f2a
|
@ -337,12 +337,6 @@ ProcRRXineramaDispatch(ClientPtr client)
|
||||||
|
|
||||||
/* SProc */
|
/* SProc */
|
||||||
|
|
||||||
static int _X_COLD
|
|
||||||
SProcRRXineramaQueryVersion(ClientPtr client)
|
|
||||||
{
|
|
||||||
return ProcRRXineramaQueryVersion(client);
|
|
||||||
}
|
|
||||||
|
|
||||||
static int _X_COLD
|
static int _X_COLD
|
||||||
SProcRRXineramaGetState(ClientPtr client)
|
SProcRRXineramaGetState(ClientPtr client)
|
||||||
{
|
{
|
||||||
|
@ -371,25 +365,13 @@ SProcRRXineramaGetScreenSize(ClientPtr client)
|
||||||
return ProcRRXineramaGetScreenSize(client);
|
return ProcRRXineramaGetScreenSize(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int _X_COLD
|
|
||||||
SProcRRXineramaIsActive(ClientPtr client)
|
|
||||||
{
|
|
||||||
return ProcRRXineramaIsActive(client);
|
|
||||||
}
|
|
||||||
|
|
||||||
static int _X_COLD
|
|
||||||
SProcRRXineramaQueryScreens(ClientPtr client)
|
|
||||||
{
|
|
||||||
return ProcRRXineramaQueryScreens(client);
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
SProcRRXineramaDispatch(ClientPtr client)
|
SProcRRXineramaDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
switch (stuff->data) {
|
switch (stuff->data) {
|
||||||
case X_PanoramiXQueryVersion:
|
case X_PanoramiXQueryVersion:
|
||||||
return SProcRRXineramaQueryVersion(client);
|
return ProcRRXineramaQueryVersion(client);
|
||||||
case X_PanoramiXGetState:
|
case X_PanoramiXGetState:
|
||||||
return SProcRRXineramaGetState(client);
|
return SProcRRXineramaGetState(client);
|
||||||
case X_PanoramiXGetScreenCount:
|
case X_PanoramiXGetScreenCount:
|
||||||
|
@ -397,9 +379,9 @@ SProcRRXineramaDispatch(ClientPtr client)
|
||||||
case X_PanoramiXGetScreenSize:
|
case X_PanoramiXGetScreenSize:
|
||||||
return SProcRRXineramaGetScreenSize(client);
|
return SProcRRXineramaGetScreenSize(client);
|
||||||
case X_XineramaIsActive:
|
case X_XineramaIsActive:
|
||||||
return SProcRRXineramaIsActive(client);
|
return ProcRRXineramaIsActive(client);
|
||||||
case X_XineramaQueryScreens:
|
case X_XineramaQueryScreens:
|
||||||
return SProcRRXineramaQueryScreens(client);
|
return ProcRRXineramaQueryScreens(client);
|
||||||
}
|
}
|
||||||
return BadRequest;
|
return BadRequest;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue