aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/layer-shell.c4
-rw-r--r--examples/multi-pointer.c4
-rw-r--r--examples/pointer.c6
3 files changed, 7 insertions, 7 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];
diff --git a/examples/multi-pointer.c b/examples/multi-pointer.c
index 920ee0fc..ba742e19 100644
--- a/examples/multi-pointer.c
+++ b/examples/multi-pointer.c
@@ -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;
}
diff --git a/examples/pointer.c b/examples/pointer.c
index db85b13a..cf096fd5 100644
--- a/examples/pointer.c
+++ b/examples/pointer.c
@@ -266,7 +266,7 @@ static void new_output_notify(struct wl_listener *listener, void *data) {
wlr_output_layout_add_auto(sample->layout, sample_output->output);
wlr_xcursor_manager_load(sample->xcursor_manager, output->scale);
- wlr_xcursor_manager_set_cursor_image(sample->xcursor_manager, "left_ptr",
+ wlr_xcursor_manager_set_cursor_image(sample->xcursor_manager, "default",
sample->cursor);
struct wlr_output_mode *mode = wlr_output_preferred_mode(output);
@@ -388,11 +388,11 @@ int main(int argc, char *argv[]) {
state.xcursor_manager = wlr_xcursor_manager_create("default", 24);
if (!state.xcursor_manager) {
- wlr_log(WLR_ERROR, "Failed to load left_ptr cursor");
+ wlr_log(WLR_ERROR, "Failed to load default cursor");
return 1;
}
- wlr_xcursor_manager_set_cursor_image(state.xcursor_manager, "left_ptr",
+ wlr_xcursor_manager_set_cursor_image(state.xcursor_manager, "default",
state.cursor);
clock_gettime(CLOCK_MONOTONIC, &state.last_frame);