mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 18:09:49 +01:00
Initialize rootston _surface
This commit is contained in:
parent
c168665043
commit
74a4b1702b
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ static bool view_at(struct roots_view *view, double lx, double ly,
|
|||
}
|
||||
|
||||
double _sx, _sy;
|
||||
struct wlr_surface *_surface;
|
||||
struct wlr_surface *_surface = NULL;
|
||||
switch (view->type) {
|
||||
case ROOTS_XDG_SHELL_V6_VIEW:
|
||||
_surface = wlr_xdg_surface_v6_surface_at(view->xdg_surface_v6,
|
||||
|
|
Loading…
Reference in a new issue