diff --git a/waybox/cursor.c b/waybox/cursor.c index 0e8ee5c..1b12949 100644 --- a/waybox/cursor.c +++ b/waybox/cursor.c @@ -165,7 +165,8 @@ struct wb_cursor *wb_cursor_create(struct wb_server *server) { cursor->server = server; const char *xcursor_size = getenv("XCURSOR_SIZE"); - cursor->xcursor_manager = wlr_xcursor_manager_create(getenv("XCURSOR_THEME"), xcursor_size ? strtoul(xcursor_size, (char **) NULL, 10) : 24); + cursor->xcursor_manager = wlr_xcursor_manager_create(getenv("XCURSOR_THEME"), + xcursor_size ? strtoul(xcursor_size, (char **) NULL, 10) : 24); wlr_xcursor_manager_load(cursor->xcursor_manager, 1); cursor->cursor_motion.notify = handle_cursor_motion; diff --git a/waybox/xdg_shell.c b/waybox/xdg_shell.c index 2a1a3c1..c8e4c2b 100644 --- a/waybox/xdg_shell.c +++ b/waybox/xdg_shell.c @@ -57,7 +57,8 @@ static void xdg_surface_unmap(struct wl_listener *listener, void *data) { focus_view(current_view, current_view->xdg_surface->surface); } /* Otherwise, focus the next view, if any. */ - else if (next_view->xdg_surface->surface && wlr_surface_is_xdg_surface(next_view->xdg_surface->surface)) { + else if (next_view->xdg_surface->surface && + wlr_surface_is_xdg_surface(next_view->xdg_surface->surface)) { focus_view(next_view, next_view->xdg_surface->surface); } }