debug: wl_set_cursor_image trace to find what resets cursor during grab

This commit is contained in:
Ollie 2026-05-29 08:35:38 +02:00
parent 87ed6976a5
commit c5a90f4c9c
1 changed files with 1 additions and 0 deletions

View File

@ -810,6 +810,7 @@ wl_set_cursor_image(const char *name)
{
if (!wl_state.cursor || !wl_state.xcursor_mgr)
return;
wwarning("wl_set_cursor_image: %s (grab_type=%d)", name, wl_state.grab_type);
wlr_cursor_set_xcursor(wl_state.cursor, wl_state.xcursor_mgr, name);
}