xdg_shell: fix a typo

master
Ilia Bozhinov 4 years ago committed by Simon Ser
parent 79c7591dc1
commit 346188c015

@ -494,7 +494,7 @@ void reset_xdg_surface(struct wlr_xdg_surface *xdg_surface) {
break;
case WLR_XDG_SURFACE_ROLE_POPUP:
wl_resource_set_user_data(xdg_surface->popup->resource, NULL);
xdg_surface->toplevel->resource = NULL;
xdg_surface->popup->resource = NULL;
wl_list_remove(&xdg_surface->popup->link);

Loading…
Cancel
Save