aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dillen Meijboom <info@dmeijboom.nl>2018-05-02 09:40:45 +0000
committerLibravatar emersion <contact@emersion.fr>2018-05-02 10:40:45 +0100
commitb45e2bd95e1843a56437541f3883d4d6431b3e0c (patch)
tree412e0da0dc45c3f7475207696182f166b7ba9fcb
parentMerge pull request #1886 from RyanDwyer/border-alpha (diff)
downloadsway-b45e2bd95e1843a56437541f3883d4d6431b3e0c.tar.gz
sway-b45e2bd95e1843a56437541f3883d4d6431b3e0c.tar.zst
sway-b45e2bd95e1843a56437541f3883d4d6431b3e0c.zip
Fixed #1888 GCC cannot compile due to uninitialized variables (#1889)
-rw-r--r--sway/tree/view.c1
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;