mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 09:59:48 +01:00
Fix uninitialized variable
This commit is contained in:
parent
09c8a048da
commit
9e6ef44deb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue