log xcursor theme and size at startup
This commit is contained in:
parent
c343dfc00a
commit
9089c3637d
|
|
@ -434,6 +434,8 @@ wl_display_open(const char *name)
|
||||||
unsigned int size = size_str ? (unsigned int)atoi(size_str) : 24;
|
unsigned int size = size_str ? (unsigned int)atoi(size_str) : 24;
|
||||||
if (size == 0) size = 24;
|
if (size == 0) size = 24;
|
||||||
wl_state.xcursor_mgr = wlr_xcursor_manager_create(theme, size);
|
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)
|
if (wl_state.xcursor_mgr)
|
||||||
wlr_xcursor_manager_load(wl_state.xcursor_mgr, 1.0f);
|
wlr_xcursor_manager_load(wl_state.xcursor_mgr, 1.0f);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue