1
0
Fork 0

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: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3613>
This commit is contained in:
Florian Müllner 2024-02-24 00:27:18 +01:00 committed by Marge Bot
parent aab6e87c75
commit 5bd820d746

View file

@ -266,8 +266,8 @@ main (int argc,
cursor_surface = wl_compositor_create_surface (display->compositor); cursor_surface = wl_compositor_create_surface (display->compositor);
cursor_theme = wl_cursor_theme_load (NULL, 24, display->shm); cursor_theme = wl_cursor_theme_load (NULL, 24, display->shm);
cursor = wl_cursor_theme_get_cursor (cursor_theme, "left_ptr"); cursor = wl_cursor_theme_get_cursor (cursor_theme, "default");
cursor2 = wl_cursor_theme_get_cursor (cursor_theme, "right_ptr"); cursor2 = wl_cursor_theme_get_cursor (cursor_theme, "text");
g_assert_nonnull (cursor); g_assert_nonnull (cursor);
g_assert_nonnull (cursor2); g_assert_nonnull (cursor2);