mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-23 05:15:58 +01:00
Missed some old wlr_log calls
This commit is contained in:
parent
c0b4217fce
commit
e226e2c011
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue