summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;