mirror of
https://github.com/wizbright/waybox.git
synced 2026-03-18 05:34:16 -04:00
Added actions to build with clang
This commit is contained in:
parent
f50ab866f9
commit
e6bac6d366
3 changed files with 16 additions and 8 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue