Fix uninitialized variable
This commit is contained in:
parent
09c8a048da
commit
9e6ef44deb
|
@ -370,7 +370,7 @@ static void render_surface(struct wlr_surface *surface,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
double ox, oy;
|
double ox = 0, oy = 0;
|
||||||
wlr_output_layout_output_coords(
|
wlr_output_layout_output_coords(
|
||||||
view->server->output_layout, output, &ox, &oy);
|
view->server->output_layout, output, &ox, &oy);
|
||||||
ox += view->x + sx, oy += view->y + sy;
|
ox += view->x + sx, oy += view->y + sy;
|
||||||
|
|
Loading…
Reference in New Issue