Xext: panoramiX: 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> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639>
This commit is contained in:
parent
98dbd817f6
commit
515992b046
|
@ -45,12 +45,6 @@ Equipment Corporation.
|
|||
#include "globals.h"
|
||||
#include "panoramiXh.h"
|
||||
|
||||
static int _X_COLD
|
||||
SProcPanoramiXQueryVersion(ClientPtr client)
|
||||
{
|
||||
return ProcPanoramiXQueryVersion(client);
|
||||
}
|
||||
|
||||
static int _X_COLD
|
||||
SProcPanoramiXGetState(ClientPtr client)
|
||||
{
|
||||
|
@ -79,25 +73,13 @@ SProcPanoramiXGetScreenSize(ClientPtr client)
|
|||
return ProcPanoramiXGetScreenSize(client);
|
||||
}
|
||||
|
||||
static int _X_COLD
|
||||
SProcXineramaIsActive(ClientPtr client)
|
||||
{
|
||||
return ProcXineramaIsActive(client);
|
||||
}
|
||||
|
||||
static int _X_COLD
|
||||
SProcXineramaQueryScreens(ClientPtr client)
|
||||
{
|
||||
return ProcXineramaQueryScreens(client);
|
||||
}
|
||||
|
||||
int _X_COLD
|
||||
SProcPanoramiXDispatch(ClientPtr client)
|
||||
{
|
||||
REQUEST(xReq);
|
||||
switch (stuff->data) {
|
||||
case X_PanoramiXQueryVersion:
|
||||
return SProcPanoramiXQueryVersion(client);
|
||||
return ProcPanoramiXQueryVersion(client);
|
||||
case X_PanoramiXGetState:
|
||||
return SProcPanoramiXGetState(client);
|
||||
case X_PanoramiXGetScreenCount:
|
||||
|
@ -105,9 +87,9 @@ SProcPanoramiXDispatch(ClientPtr client)
|
|||
case X_PanoramiXGetScreenSize:
|
||||
return SProcPanoramiXGetScreenSize(client);
|
||||
case X_XineramaIsActive:
|
||||
return SProcXineramaIsActive(client);
|
||||
return ProcXineramaIsActive(client);
|
||||
case X_XineramaQueryScreens:
|
||||
return SProcXineramaQueryScreens(client);
|
||||
return ProcXineramaQueryScreens(client);
|
||||
}
|
||||
return BadRequest;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue