Added actions to build with clang

This commit is contained in:
Keith Bowes 2023-02-26 22:14:24 -05:00
parent f50ab866f9
commit e6bac6d366
3 changed files with 16 additions and 8 deletions

View file

@ -67,7 +67,7 @@ void focus_view(struct wb_view *view, struct wlr_surface *surface) {
struct wlr_xdg_surface *previous =
wlr_xdg_surface_try_from_wlr_surface(prev_surface);
#else
struct wlr_xdg_surface *previous;
struct wlr_xdg_surface *previous = NULL;
if (wlr_surface_is_xdg_surface(prev_surface)) {
previous = wlr_xdg_surface_from_wlr_surface(prev_surface);
}