From 5bd820d746343d1ecea73097ba7100ef4e044103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 24 Feb 2024 00:27:18 +0100 Subject: [PATCH] tests/wayland-test-clients: Update cursor names adaita-icon-theme cleaned up its cursor set, and now only provides names defined by GTK/CSS. Update the cursor-hotplug test to not use legacy cursor that will fail with a recent cursor theme. Part-of: --- src/tests/wayland-test-clients/kms-cursor-hotplug-helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/wayland-test-clients/kms-cursor-hotplug-helper.c b/src/tests/wayland-test-clients/kms-cursor-hotplug-helper.c index ac9dd5822..0ddaa4a04 100644 --- a/src/tests/wayland-test-clients/kms-cursor-hotplug-helper.c +++ b/src/tests/wayland-test-clients/kms-cursor-hotplug-helper.c @@ -266,8 +266,8 @@ main (int argc, cursor_surface = wl_compositor_create_surface (display->compositor); cursor_theme = wl_cursor_theme_load (NULL, 24, display->shm); - cursor = wl_cursor_theme_get_cursor (cursor_theme, "left_ptr"); - cursor2 = wl_cursor_theme_get_cursor (cursor_theme, "right_ptr"); + cursor = wl_cursor_theme_get_cursor (cursor_theme, "default"); + cursor2 = wl_cursor_theme_get_cursor (cursor_theme, "text"); g_assert_nonnull (cursor); g_assert_nonnull (cursor2);