randr: move remaining dispatch prototypes to rrdispatch.h

Since we now have a separate header for them, move them all over to there.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-16 12:27:57 +02:00
parent 7c9ad18930
commit aff4f8979e
5 changed files with 21 additions and 23 deletions

View File

@ -28,8 +28,9 @@
#include <dix-config.h> #include <dix-config.h>
#include "randrstr_priv.h"
#include "extinit_priv.h" #include "extinit_priv.h"
#include "randr/randrstr_priv.h"
#include "randr/rrdispatch_priv.h"
/* From render.h */ /* From render.h */
#ifndef SubPixelUnknown #ifndef SubPixelUnknown

View File

@ -91,10 +91,6 @@ extern DevPrivateKeyRec RRClientPrivateKeyRec;
#define GetRRClient(pClient) ((RRClientPtr)dixLookupPrivate(&(pClient)->devPrivates, RRClientPrivateKey)) #define GetRRClient(pClient) ((RRClientPtr)dixLookupPrivate(&(pClient)->devPrivates, RRClientPrivateKey))
#define rrClientPriv(pClient) RRClientPtr pRRClient = GetRRClient(pClient) #define rrClientPriv(pClient) RRClientPtr pRRClient = GetRRClient(pClient)
int ProcRRGetPanning(ClientPtr client);
int ProcRRSetPanning(ClientPtr client);
void RRConstrainCursorHarder(DeviceIntPtr, ScreenPtr, int, int *, int *); void RRConstrainCursorHarder(DeviceIntPtr, ScreenPtr, int, int *, int *);
/* rrlease.c */ /* rrlease.c */
@ -123,22 +119,4 @@ int RRMonitorAdd(ClientPtr client, ScreenPtr screen, RRMonitorPtr monitor);
void RRMonitorFree(RRMonitorPtr monitor); void RRMonitorFree(RRMonitorPtr monitor);
int ProcRRGetMonitors(ClientPtr client);
int ProcRRSetMonitor(ClientPtr client);
int ProcRRDeleteMonitor(ClientPtr client);
int ProcRRCreateLease(ClientPtr client);
int ProcRRFreeLease(ClientPtr client);
int ProcRRQueryVersion(ClientPtr client);
int ProcRRSelectInput(ClientPtr client);
int ProcRRDispatch(ClientPtr client);
int SProcRRDispatch(ClientPtr client);
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */ #endif /* _XSERVER_RANDRSTR_PRIV_H_ */

View File

@ -55,4 +55,21 @@ int ProcRRConfigureProviderProperty(ClientPtr client);
int ProcRRChangeProviderProperty(ClientPtr client); int ProcRRChangeProviderProperty(ClientPtr client);
int ProcRRDeleteProviderProperty(ClientPtr client); int ProcRRDeleteProviderProperty(ClientPtr client);
/* monitor related dispatch */
int ProcRRGetMonitors(ClientPtr client);
int ProcRRSetMonitor(ClientPtr client);
int ProcRRDeleteMonitor(ClientPtr client);
int ProcRRGetPanning(ClientPtr client);
int ProcRRSetPanning(ClientPtr client);
int ProcRRCreateLease(ClientPtr client);
int ProcRRFreeLease(ClientPtr client);
int ProcRRQueryVersion(ClientPtr client);
int ProcRRSelectInput(ClientPtr client);
int ProcRRDispatch(ClientPtr client);
int SProcRRDispatch(ClientPtr client);
#endif /* _XSERVER_RANDR_RRDISPATCH_H */ #endif /* _XSERVER_RANDR_RRDISPATCH_H */

View File

@ -25,6 +25,7 @@
#include "dix/dix_priv.h" #include "dix/dix_priv.h"
#include "randr/randrstr_priv.h" #include "randr/randrstr_priv.h"
#include "randr/rrdispatch_priv.h"
#include "os/client_priv.h" #include "os/client_priv.h"
#include "swaprep.h" #include "swaprep.h"

View File

@ -23,6 +23,7 @@
#include "dix/dix_priv.h" #include "dix/dix_priv.h"
#include "randr/randrstr_priv.h" #include "randr/randrstr_priv.h"
#include "randr/rrdispatch_priv.h"
#include "swaprep.h" #include "swaprep.h"