Fix uninitialized variable

This commit is contained in:
Drew DeVault 2018-08-15 18:54:34 -04:00
parent 09c8a048da
commit 9e6ef44deb

View file

@ -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;