Missed some old wlr_log calls
This commit is contained in:
parent
c0b4217fce
commit
e226e2c011
|
@ -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,
|
void wlr_output_cursor_set_surface(struct wlr_output_cursor *cursor,
|
||||||
struct wlr_surface *surface, int32_t hotspot_x, int32_t hotspot_y) {
|
struct wlr_surface *surface, int32_t hotspot_x, int32_t hotspot_y) {
|
||||||
if (surface && !wlr_surface_is_pointer_cursor(surface)) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -667,7 +667,7 @@ static void xwm_map_shell_surface(struct wlr_xwm *xwm,
|
||||||
struct wlr_xwayland_surface *xsurface, struct wlr_surface *surface) {
|
struct wlr_xwayland_surface *xsurface, struct wlr_surface *surface) {
|
||||||
if (!wlr_surface_set_role(surface, &xwayland_surface_role, xsurface,
|
if (!wlr_surface_set_role(surface, &xwayland_surface_role, xsurface,
|
||||||
NULL, 0)) {
|
NULL, 0)) {
|
||||||
wlr_log(L_ERROR, "Failed to set xwayland surface role");
|
wlr_log(WLR_ERROR, "Failed to set xwayland surface role");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue