load xcursor manager for scale 1 and 2
This commit is contained in:
parent
f73630be43
commit
9c954de71e
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue