Fix build error from case labeled declaration

This commit is contained in:
Uks2 2022-07-30 22:26:30 +01:00
parent 17814972ab
commit fc4e816478

View file

@ -31,7 +31,7 @@ popup_get_desktop_surface(struct wlr_xdg_popup *popup)
case WLR_XDG_SURFACE_ROLE_POPUP:
parent = xdg_surface->popup->parent;
break;
case WLR_XDG_SURFACE_ROLE_TOPLEVEL:
case WLR_XDG_SURFACE_ROLE_TOPLEVEL:;
struct kiwmi_view *view = xdg_surface->data;
return &view->desktop_surface;
default: