load xcursor manager for scale 1 and 2

This commit is contained in:
lkn 2026-06-23 23:57:34 +02:00
parent f73630be43
commit 9c954de71e
1 changed files with 3 additions and 1 deletions

View File

@ -437,8 +437,10 @@ wl_display_open(const char *name)
wwarning("wl_backend: xcursor theme=%s size=%u",
theme ? theme : "(default)", size);
}
if (wl_state.xcursor_mgr)
if (wl_state.xcursor_mgr) {
wlr_xcursor_manager_load(wl_state.xcursor_mgr, 1.0f);
wlr_xcursor_manager_load(wl_state.xcursor_mgr, 2.0f);
}
wwarning("wl_backend: cursor created, xcursor theme loaded");
} else {
wwarning("wl_backend: wlr_cursor_create failed; cursor will be invisible");