Missed some old wlr_log calls

This commit is contained in:
Drew DeVault 2018-07-11 18:36:31 -04:00
parent c0b4217fce
commit e226e2c011
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}