Fix uninitialized variable

This commit is contained in:
Drew DeVault 2018-08-15 18:54:34 -04:00
parent 09c8a048da
commit 9e6ef44deb
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ static void render_surface(struct wlr_surface *surface,
return;
}
double ox, oy;
double ox = 0, oy = 0;
wlr_output_layout_output_coords(
view->server->output_layout, output, &ox, &oy);
ox += view->x + sx, oy += view->y + sy;