aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 5a1b2e37..cf67acbb 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -258,7 +258,7 @@ void view_autoconfigure(struct sway_view *view) {
}
}
- double x, y, width, height = 0;
+ double x = 0, y = 0, width = 0, height = 0;
switch (view->border) {
case B_CSD:
case B_NONE: