summaryrefslogtreecommitdiff
path: root/selection.c
diff options
context:
space:
mode:
authorRoi Cohen <roico@roico-desktop.(none)>2007-06-09 14:07:18 +0300
committerRoi Cohen <roico@roico-desktop.(none)>2007-06-09 14:07:18 +0300
commitff064b62e636a93852758e203ac02cba0789069c (patch)
treec668e3f5d22cfc5dd4312e3d09b410acbfa587e3 /selection.c
parent40198ed9e6347b5310cd4745bad01d4c169cc00f (diff)
downloadgroup-ff064b62e636a93852758e203ac02cba0789069c.tar.gz
group-ff064b62e636a93852758e203ac02cba0789069c.tar.bz2
remove lots of trailing white spaces
Diffstat (limited to 'selection.c')
-rw-r--r--selection.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/selection.c b/selection.c
index d8c9ebf..24d7ee3 100644
--- a/selection.c
+++ b/selection.c
@@ -33,7 +33,7 @@
{
Region buf = XCreateRegion();
XIntersectRegion(w->region, src, buf);
-
+
// buf area
int i;
int area = 0;
@@ -42,14 +42,14 @@
box = &buf->rects[i];
area += (box->x2 - box->x1) * (box->y2 - box->y1); // width * height
}
-
+
XDestroyRegion(buf);
if (area >= WIN_WIDTH(w) * WIN_HEIGHT(w) * precision) {
XSubtractRegion(src, w->region, src);
return TRUE;
}
-
+
return FALSE;
}
@@ -82,7 +82,7 @@
int count = 0;
CompWindow *w;
for (w = s->reverseWindows; w; w = w->prev) {
- if (matchEval(groupGetWindowMatch(s), w) &&
+ if (matchEval(groupGetWindowMatch(s), w) &&
!w->invisible &&
groupWindowInRegion(w, reg, precision))
{
@@ -101,7 +101,7 @@
count++;
}
}
-
+
(*c) = count;
return ret;
}
@@ -295,7 +295,7 @@ groupSelectTerminate(CompDisplay * d, CompAction * action,
rect.width = MAX(gs->x1, gs->x2) - MIN(gs->x1, gs->x2) + 4;
rect.height = MAX(gs->y1, gs->y2) - MIN(gs->y1, gs->y2) + 4;
XUnionRectWithRegion(&rect, reg, reg);
-
+
damageScreenRegion(s, reg);
int count;