mirror of
https://github.com/swaywm/sway.git
synced 2026-05-03 06:46:26 -04:00
Fixed #1888 GCC cannot compile due to uninitialized variables
This commit is contained in:
parent
fe9cc21ea7
commit
5d525111e6
1 changed files with 3 additions and 0 deletions
|
|
@ -88,6 +88,9 @@ void view_autoconfigure(struct sway_view *view) {
|
||||||
}
|
}
|
||||||
|
|
||||||
double x, y, width, height;
|
double x, y, width, height;
|
||||||
|
|
||||||
|
x = y = width = height = 0;
|
||||||
|
|
||||||
switch (view->border) {
|
switch (view->border) {
|
||||||
case B_NONE:
|
case B_NONE:
|
||||||
x = view->swayc->x;
|
x = view->swayc->x;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue