mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
rootston xcursor fixes
This commit is contained in:
parent
eb4e91f96d
commit
b275d44bc3
2 changed files with 8 additions and 13 deletions
|
|
@ -444,12 +444,14 @@ void roots_seat_configure_xcursor(struct roots_seat *seat) {
|
|||
cursor_theme = cc->theme;
|
||||
}
|
||||
|
||||
seat->cursor->xcursor_manager =
|
||||
wlr_xcursor_manager_create(cursor_theme, ROOTS_XCURSOR_SIZE);
|
||||
if (seat->cursor->xcursor_manager == NULL) {
|
||||
wlr_log(L_ERROR, "Cannot create XCursor manager for theme %s",
|
||||
cursor_theme);
|
||||
return;
|
||||
if (!seat->cursor->xcursor_manager) {
|
||||
seat->cursor->xcursor_manager =
|
||||
wlr_xcursor_manager_create(cursor_theme, ROOTS_XCURSOR_SIZE);
|
||||
if (seat->cursor->xcursor_manager == NULL) {
|
||||
wlr_log(L_ERROR, "Cannot create XCursor manager for theme %s",
|
||||
cursor_theme);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
struct roots_output *output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue