diff options
-rw-r--r-- | sway/tree/view.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 05a9b277..87ed62c2 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -88,6 +88,7 @@ void view_autoconfigure(struct sway_view *view) { | |||
88 | } | 88 | } |
89 | 89 | ||
90 | double x, y, width, height; | 90 | double x, y, width, height; |
91 | x = y = width = height = 0; | ||
91 | switch (view->border) { | 92 | switch (view->border) { |
92 | case B_NONE: | 93 | case B_NONE: |
93 | x = view->swayc->x; | 94 | x = view->swayc->x; |