diff options
-rw-r--r-- | sway/tree/view.c | 2 |
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) { | |||
258 | } | 258 | } |
259 | } | 259 | } |
260 | 260 | ||
261 | double x, y, width, height = 0; | 261 | double x = 0, y = 0, width = 0, height = 0; |
262 | switch (view->border) { | 262 | switch (view->border) { |
263 | case B_CSD: | 263 | case B_CSD: |
264 | case B_NONE: | 264 | case B_NONE: |