mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-08 10:06:28 -05:00
examples, tinywl: use "default" cursor instead of "left_ptr"
"left_ptr" is the X11 name, "default" is the cursor spec name.
This commit is contained in:
parent
4097eb20f3
commit
3668c9d86c
5 changed files with 9 additions and 9 deletions
|
|
@ -298,9 +298,9 @@ int main(int argc, char *argv[]) {
|
|||
wlr_log(WLR_ERROR, "Failed to load cursor theme");
|
||||
return 1;
|
||||
}
|
||||
state.xcursor = wlr_xcursor_theme_get_cursor(theme, "left_ptr");
|
||||
state.xcursor = wlr_xcursor_theme_get_cursor(theme, "default");
|
||||
if (!state.xcursor) {
|
||||
wlr_log(WLR_ERROR, "Failed to load left_ptr cursor");
|
||||
wlr_log(WLR_ERROR, "Failed to load default cursor");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue