aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/view.c
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2018-10-30 11:42:37 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2018-10-30 11:42:37 +0000
commita67e1b587395ebd04f66bff29a25c3f2f9e9e6d1 (patch)
treeea38d28ddbec4985245cb2325bd96bc4937b45a1 /sway/tree/view.c
parentb90af3357030264a1a0def38f3feecb9056f3740 (diff)
Revert "tree/view.c: fix uninitialized variables warning"
This reverts commit 6414b5d288b89c9f3ecde0757f16184071b6036f.
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 cf67acbb..5a1b2e37 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -258,7 +258,7 @@ void view_autoconfigure(struct sway_view *view) {
}
}
- double x = 0, y = 0, width = 0, height = 0;
+ double x, y, width, height = 0;
switch (view->border) {
case B_CSD:
case B_NONE: