Output debug lines for when kitty sets the pointer in Wayland

This commit is contained in:
Kovid Goyal
2022-04-30 09:13:08 +05:30
parent 8c67f5aea8
commit c48bf4fd85
2 changed files with 4 additions and 0 deletions

1
glfw/wl_init.c vendored
View File

@@ -147,6 +147,7 @@ static void setCursor(GLFWCursorShape shape, _GLFWwindow* window)
buffer = wl_cursor_image_get_buffer(image);
if (!buffer)
return;
debug("Calling wl_pointer_set_cursor in setCursor with surface: %p\n", (void*)surface);
wl_pointer_set_cursor(_glfw.wl.pointer, _glfw.wl.serial,
surface,
image->hotspot_x / scale,