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:
Simon Ser 2023-02-01 15:00:42 +01:00
parent 4097eb20f3
commit 3668c9d86c
5 changed files with 9 additions and 9 deletions

View file

@ -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;
}