aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/randr/randrstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/randr/randrstr.h')
-rw-r--r--nx-X11/programs/Xserver/randr/randrstr.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/nx-X11/programs/Xserver/randr/randrstr.h b/nx-X11/programs/Xserver/randr/randrstr.h
index bab784b8f..620972d63 100644
--- a/nx-X11/programs/Xserver/randr/randrstr.h
+++ b/nx-X11/programs/Xserver/randr/randrstr.h
@@ -68,7 +68,7 @@ extern int RREventBase, RRErrorBase;
extern int (*ProcRandrVector[RRNumberRequests])(ClientPtr);
extern int (*SProcRandrVector[RRNumberRequests])(ClientPtr);
-
+
/*
* Modeline for a monitor. Name follows directly after this struct
*/
@@ -184,7 +184,7 @@ typedef Bool (*RRGetInfoProcPtr) (ScreenPtr pScreen, Rotation *rotations);
typedef Bool (*RRCloseScreenProcPtr) ( int i, ScreenPtr pscreen);
/* These are for 1.0 compatibility */
-
+
typedef struct _rrRefresh {
CARD16 rate;
RRModePtr mode;
@@ -225,7 +225,7 @@ typedef struct _rrScrPriv {
RROutputValidateModeProcPtr rrOutputValidateMode;
RRModeDestroyProcPtr rrModeDestroy;
#endif
-
+
/*
* Private part of the structure; not considered part of the ABI
*/
@@ -257,10 +257,10 @@ typedef struct _rrScrPriv {
*/
Rotation rotations;
CARD16 reqWidth, reqHeight;
-
+
int nSizes;
RRScreenSizePtr pSizes;
-
+
Rotation rotation;
int rate;
int size;
@@ -344,8 +344,8 @@ extern RESTYPE RRCrtcType, RRModeType, RROutputType;
#define rrClientPriv(pClient) RRClientPtr pRRClient = GetRRClient(pClient)
#define DixUnknownAccess SecurityUnknownAccess
-#define DixReadAccess SecurityReadAccess
-#define DixWriteAccess SecurityWriteAccess
+#define DixReadAccess SecurityReadAccess
+#define DixWriteAccess SecurityWriteAccess
#define DixDestroyAccess SecurityDestroyAccess
#endif
@@ -390,11 +390,11 @@ RRScreenSizeSet (ScreenPtr pScreen,
*/
void
RRSendConfigNotify (ScreenPtr pScreen);
-
+
/*
* screen dispatch
*/
-int
+int
ProcRRGetScreenSizeRange (ClientPtr client);
int
@@ -414,7 +414,7 @@ ProcRRGetScreenInfo (ClientPtr client);
*/
void
RRDeliverScreenEvent (ClientPtr client, WindowPtr pWin, ScreenPtr pScreen);
-
+
/* mirandr.c */
Bool
miRandRInit (ScreenPtr pScreen);
@@ -488,7 +488,7 @@ RRVerticalRefresh (xRRModeInfo *mode);
RRScreenSizePtr
RRRegisterSize (ScreenPtr pScreen,
- short width,
+ short width,
short height,
short mmWidth,
short mmHeight);
@@ -556,7 +556,7 @@ RRCrtcNotify (RRCrtcPtr crtc,
void
RRDeliverCrtcEvent (ClientPtr client, WindowPtr pWin, RRCrtcPtr crtc);
-
+
/*
* Request that the Crtc be reconfigured
*/
@@ -663,13 +663,13 @@ RRModeDestroy (RRModePtr mode);
*/
RRModePtr *
RRModesForScreen (ScreenPtr pScreen, int *num_ret);
-
+
/*
* Initialize mode type
*/
Bool
RRModeInit (void);
-
+
int
ProcRRCreateMode (ClientPtr client);
@@ -757,7 +757,7 @@ ProcRRGetOutputInfo (ClientPtr client);
*/
Bool
RROutputInit (void);
-
+
/* rrpointer.c */
void
RRPointerMoved (ScreenPtr pScreen, int x, int y);
@@ -775,13 +775,13 @@ RRGetOutputProperty (RROutputPtr output, Atom property, Bool pending);
RRPropertyPtr
RRQueryOutputProperty (RROutputPtr output, Atom property);
-
+
void
RRDeleteOutputProperty (RROutputPtr output, Atom property);
Bool
RRPostPendingProperties (RROutputPtr output);
-
+
int
RRChangeOutputProperty (RROutputPtr output, Atom property, Atom type,
int format, int mode, unsigned long len,
@@ -816,17 +816,17 @@ RRXineramaExtensionInit(void);
#endif /* _RANDRSTR_H_ */
/*
-
+
randr extension implementation structure
Query state:
ProcRRGetScreenInfo/ProcRRGetScreenResources
RRGetInfo
-
+
• Request configuration from driver, either 1.0 or 1.2 style
• These functions only record state changes, all
other actions are pended until RRTellChanged is called
-
+
->rrGetInfo
1.0:
RRRegisterSize
@@ -841,15 +841,15 @@ Query state:
RROutputSetSubpixelOrder
RROutputSetClones
RRCrtcNotify
-
+
• Must delay scanning configuration until after ->rrGetInfo returns
because some drivers will call SetCurrentConfig in the middle
of the ->rrGetInfo operation.
-
+
1.0:
• Scan old configuration, mirror to new structures
-
+
RRScanOldConfig
RRCrtcCreate
RROutputCreate
@@ -859,16 +859,16 @@ Query state:
RROldModeAdd • This adds modes one-at-a-time
RRModeGet
RRCrtcNotify
-
+
• send events, reset pointer if necessary
-
+
RRTellChanged
WalkTree (sending events)
-
+
• when layout has changed:
RRPointerScreenConfigured
RRSendConfigNotify
-
+
Asynchronous state setting (1.2 only)
When setting state asynchronously, the driver invokes the
->rrGetInfo function and then calls RRTellChanged to flush