diff options
author | Dillen Meijboom <info@dmeijboom.nl> | 2018-05-02 09:40:45 +0000 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-05-02 10:40:45 +0100 |
commit | b45e2bd95e1843a56437541f3883d4d6431b3e0c (patch) | |
tree | 412e0da0dc45c3f7475207696182f166b7ba9fcb /sway | |
parent | Merge pull request #1886 from RyanDwyer/border-alpha (diff) | |
download | sway-b45e2bd95e1843a56437541f3883d4d6431b3e0c.tar.gz sway-b45e2bd95e1843a56437541f3883d4d6431b3e0c.tar.zst sway-b45e2bd95e1843a56437541f3883d4d6431b3e0c.zip |
Diffstat (limited to 'sway')
-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; |