aboutsummaryrefslogtreecommitdiff
path: root/examples/layer-shell.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-02-01 15:00:42 +0100
committerSimon Ser <contact@emersion.fr>2023-02-01 15:00:42 +0100
commit3668c9d86c866ec25048eb136701681c49bea62a (patch)
tree6b630bb069cdc62cdad8c1a6ea4846925a7760b5 /examples/layer-shell.c
parent4097eb20f33a19560ade52bfca8ca99161e9598c (diff)
examples, tinywl: use "default" cursor instead of "left_ptr"
"left_ptr" is the X11 name, "default" is the cursor spec name.
Diffstat (limited to 'examples/layer-shell.c')
-rw-r--r--examples/layer-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/layer-shell.c b/examples/layer-shell.c
index f2e0aaa7..5f86be8d 100644
--- a/examples/layer-shell.c
+++ b/examples/layer-shell.c
@@ -615,14 +615,14 @@ int main(int argc, char **argv) {
struct wl_cursor *cursor =
wl_cursor_theme_get_cursor(cursor_theme, "crosshair");
if (cursor == NULL) {
- cursor = wl_cursor_theme_get_cursor(cursor_theme, "left_ptr");
+ cursor = wl_cursor_theme_get_cursor(cursor_theme, "default");
}
assert(cursor);
cursor_image = cursor->images[0];
cursor = wl_cursor_theme_get_cursor(cursor_theme, "tcross");
if (cursor == NULL) {
- cursor = wl_cursor_theme_get_cursor(cursor_theme, "left_ptr");
+ cursor = wl_cursor_theme_get_cursor(cursor_theme, "default");
}
assert(cursor);
popup_cursor_image = cursor->images[0];