debug: log xcursor output scale

This commit is contained in:
lkn 2026-06-24 19:13:07 +02:00
parent 0c295dcf09
commit 70659969d6
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ handle_backend_new_output(struct wl_listener *listener, void *data)
if (wl_state.cursor && wl_state.xcursor_mgr) {
wlr_xcursor_manager_load(wl_state.xcursor_mgr, output->scale);
wwarning("wl_backend: loading xcursor at output scale=%.2f", (double)output->scale);
wlr_cursor_set_xcursor(wl_state.cursor, wl_state.xcursor_mgr, "left_ptr");
wlr_cursor_warp(wl_state.cursor, NULL,
(double)wl_state.pointer_x,