aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/randr/rrdispatch.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-06-07 10:14:50 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-06-21 04:06:27 +0200
commitb943cfe2afbd593e814de47b2f13f8b3b1af78da (patch)
tree54787a27baf87d7e4842aee60cb9c04881901898 /nx-X11/programs/Xserver/randr/rrdispatch.c
parente2b0f279ec4932cde94a29e155a286b03a3d7c40 (diff)
downloadnx-libs-b943cfe2afbd593e814de47b2f13f8b3b1af78da.tar.gz
nx-libs-b943cfe2afbd593e814de47b2f13f8b3b1af78da.tar.bz2
nx-libs-b943cfe2afbd593e814de47b2f13f8b3b1af78da.zip
Drop trailing whitespaces (randr extension)
sed -i "s/[ ]\+$//g" randr/*.{c,h} happy reviewing... git diff -w is an empty diff.
Diffstat (limited to 'nx-X11/programs/Xserver/randr/rrdispatch.c')
-rw-r--r--nx-X11/programs/Xserver/randr/rrdispatch.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/nx-X11/programs/Xserver/randr/rrdispatch.c b/nx-X11/programs/Xserver/randr/rrdispatch.c
index 4c6a5ff48..88970937e 100644
--- a/nx-X11/programs/Xserver/randr/rrdispatch.c
+++ b/nx-X11/programs/Xserver/randr/rrdispatch.c
@@ -90,13 +90,13 @@ ProcRRSelectInput (ClientPtr client)
if (stuff->enable & (RRScreenChangeNotifyMask|
RRCrtcChangeNotifyMask|
- RROutputChangeNotifyMask))
+ RROutputChangeNotifyMask))
{
ScreenPtr pScreen = pWin->drawable.pScreen;
rrScrPriv (pScreen);
pRREvent = NULL;
- if (pHead)
+ if (pHead)
{
/* check for existing entry. */
for (pRREvent = *pHead; pRREvent; pRREvent = pRREvent->next)
@@ -148,16 +148,16 @@ ProcRRSelectInput (ClientPtr client)
if (pScrPriv && (pRREvent->mask & RRScreenChangeNotifyMask))
{
pTimes = &((RRTimesPtr) (pRRClient + 1))[pScreen->myNum];
- if (CompareTimeStamps (pTimes->setTime,
+ if (CompareTimeStamps (pTimes->setTime,
pScrPriv->lastSetTime) != 0 ||
- CompareTimeStamps (pTimes->configTime,
+ CompareTimeStamps (pTimes->configTime,
pScrPriv->lastConfigTime) != 0)
{
RRDeliverScreenEvent (client, pWin, pScreen);
}
}
}
- else if (stuff->enable == 0)
+ else if (stuff->enable == 0)
{
/* delete the interest */
if (pHead) {
@@ -177,7 +177,7 @@ ProcRRSelectInput (ClientPtr client)
}
}
}
- else
+ else
{
client->errorValue = stuff->enable;
return BadValue;