summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
Diffstat (limited to 'openbox')
-rw-r--r--openbox/place.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/openbox/place.c b/openbox/place.c
index aa3ff636..de2c7dc9 100644
--- a/openbox/place.c
+++ b/openbox/place.c
@@ -360,11 +360,11 @@ static gboolean place_transient_splash(ObClient *client, Rect *area,
b = MAX(b, RECT_BOTTOM(m->frame->area));
}
}
- if (!first) {
- *x = ((r + 1 - l) - frame_size.width) / 2 + l;
- *y = ((b + 1 - t) - frame_size.height) / 2 + t;
- return TRUE;
- }
+ }
+ if (!first) {
+ *x = ((r + 1 - l) - frame_size.width) / 2 + l;
+ *y = ((b + 1 - t) - frame_size.height) / 2 + t;
+ return TRUE;
}
}