summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-10-31 09:45:12 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-11-12 10:25:00 +1000
commit732fd7e571b81d63aa44d6e4cf55883479e88f2f (patch)
treea517c1d887e978593e25b5707dc13685d76a5e3b /randr
parent96143d6dc35c98cb6b4e409dd89687e4ced3c1f0 (diff)
Drop trailing whitespaces
sed -i "s/[ ]\+$//g" **/*.(c|h) happy reviewing... git diff -w is an empty diff. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'randr')
-rw-r--r--randr/randrstr.h20
-rw-r--r--randr/rrprovider.c2
-rw-r--r--randr/rrtransform.c2
-rw-r--r--randr/rrtransform.h2
-rw-r--r--randr/rrxinerama.c2
5 files changed, 14 insertions, 14 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h
index e14223201..13e6a8596 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -984,17 +984,17 @@ extern _X_EXPORT 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
@@ -1009,15 +1009,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
@@ -1027,16 +1027,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
diff --git a/randr/rrprovider.c b/randr/rrprovider.c
index 4507ba894..bbb8e51b3 100644
--- a/randr/rrprovider.c
+++ b/randr/rrprovider.c
@@ -159,7 +159,7 @@ ProcRRGetProviderInfo (ClientPtr client)
ScreenPtr provscreen;
RRProvider *providers;
uint32_t *prov_cap;
-
+
REQUEST_SIZE_MATCH(xRRGetProviderInfoReq);
VERIFY_RR_PROVIDER(stuff->provider, provider, DixReadAccess);
diff --git a/randr/rrtransform.c b/randr/rrtransform.c
index f93181d2e..c8a27498f 100644
--- a/randr/rrtransform.c
+++ b/randr/rrtransform.c
@@ -131,7 +131,7 @@ RRTransformRescale(struct pixman_f_transform *f_transform, double limit)
/*
* Compute the complete transformation matrix including
- * client-specified transform, rotation/reflection values and the crtc
+ * client-specified transform, rotation/reflection values and the crtc
* offset.
*
* Return TRUE if the resulting transform is not a simple translation.
diff --git a/randr/rrtransform.h b/randr/rrtransform.h
index 2269b4cb7..f811d2b3d 100644
--- a/randr/rrtransform.h
+++ b/randr/rrtransform.h
@@ -59,7 +59,7 @@ extern _X_EXPORT Bool
/*
* Compute the complete transformation matrix including
- * client-specified transform, rotation/reflection values and the crtc
+ * client-specified transform, rotation/reflection values and the crtc
* offset.
*
* Return TRUE if the resulting transform is not a simple translation.
diff --git a/randr/rrxinerama.c b/randr/rrxinerama.c
index 76d728c70..26894a663 100644
--- a/randr/rrxinerama.c
+++ b/randr/rrxinerama.c
@@ -23,7 +23,7 @@
* This Xinerama implementation comes from the SiS driver which has
* the following notice:
*/
-/*
+/*
* SiS driver main code
*
* Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria.