summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-05-24 14:11:59 +0200
committerDanny Baumann <dannybaumann@web.de>2008-05-24 14:11:59 +0200
commit87d3bc9b0c1a64af9e19ba75466352342b66aee6 (patch)
tree4f9ce97d170d553fcacfca8c7a4a76edd015993b /src
parent20f0cfaae9fec1f4b87692a90e4988599d9551da (diff)
Coding style fixes.
Diffstat (limited to 'src')
-rw-r--r--src/window.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/window.c b/src/window.c
index 53606734..331515cd 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2167,7 +2167,7 @@ addWindow (CompScreen *screen,
readWindowProp32 (screen->display, w->id,
screen->display->winOpacityAtom,
&w->opacity);
-
+
w->brightness =
getWindowProp32 (screen->display, w->id,
screen->display->winBrightnessAtom,
@@ -2178,8 +2178,9 @@ addWindow (CompScreen *screen,
w->paint.opacity = w->opacity;
w->paint.brightness = w->brightness;
}
-
- if (screen->canDoSaturated) {
+
+ if (screen->canDoSaturated)
+ {
w->saturation =
getWindowProp32 (screen->display, w->id,
screen->display->winSaturationAtom,
@@ -2187,7 +2188,7 @@ addWindow (CompScreen *screen,
if (w->alive)
w->paint.saturation = w->saturation;
}
-
+
if (w->attrib.map_state == IsViewable)
{
w->placed = TRUE;