log xcursor theme and size at startup

This commit is contained in:
lkn 2026-06-23 23:46:59 +02:00
parent c343dfc00a
commit 9089c3637d
1 changed files with 2 additions and 0 deletions

View File

@ -434,6 +434,8 @@ wl_display_open(const char *name)
unsigned int size = size_str ? (unsigned int)atoi(size_str) : 24;
if (size == 0) size = 24;
wl_state.xcursor_mgr = wlr_xcursor_manager_create(theme, size);
wwarning("wl_backend: xcursor theme=%s size=%u",
theme ? theme : "(default)", size);
}
if (wl_state.xcursor_mgr)
wlr_xcursor_manager_load(wl_state.xcursor_mgr, 1.0f);