diff --git a/types/wlr_output.c b/types/wlr_output.c index 601cf16c..35b8c416 100644 --- a/types/wlr_output.c +++ b/types/wlr_output.c @@ -818,7 +818,7 @@ static void output_cursor_handle_destroy(struct wl_listener *listener, void wlr_output_cursor_set_surface(struct wlr_output_cursor *cursor, struct wlr_surface *surface, int32_t hotspot_x, int32_t hotspot_y) { if (surface && !wlr_surface_is_pointer_cursor(surface)) { - wlr_log(L_ERROR, "Tried to set a cursor surface with invalid role"); + wlr_log(WLR_ERROR, "Tried to set a cursor surface with invalid role"); return; } diff --git a/xwayland/xwm.c b/xwayland/xwm.c index 368418a3..bee3a005 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -667,7 +667,7 @@ static void xwm_map_shell_surface(struct wlr_xwm *xwm, struct wlr_xwayland_surface *xsurface, struct wlr_surface *surface) { if (!wlr_surface_set_role(surface, &xwayland_surface_role, xsurface, NULL, 0)) { - wlr_log(L_ERROR, "Failed to set xwayland surface role"); + wlr_log(WLR_ERROR, "Failed to set xwayland surface role"); return; }