From 96e41bfd197c4abb19afd4504cc8e985a7fa3882 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 7 Dec 2023 17:08:03 +1100 Subject: [PATCH] GHOST/Wayland: update cursor names Update names to better support Adwaita & Breeze cursor themes. --- intern/ghost/intern/GHOST_SystemWayland.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/intern/ghost/intern/GHOST_SystemWayland.cc b/intern/ghost/intern/GHOST_SystemWayland.cc index 73a5997f92a..a52a8fbbabb 100644 --- a/intern/ghost/intern/GHOST_SystemWayland.cc +++ b/intern/ghost/intern/GHOST_SystemWayland.cc @@ -1947,7 +1947,7 @@ static const std::unordered_map ghost_wl_cu {GHOST_kStandardCursorDefault, "left_ptr"}, {GHOST_kStandardCursorRightArrow, "right_ptr"}, {GHOST_kStandardCursorLeftArrow, "left_ptr"}, - {GHOST_kStandardCursorInfo, ""}, + {GHOST_kStandardCursorInfo, "left_ptr_help"}, {GHOST_kStandardCursorDestroy, "pirate"}, {GHOST_kStandardCursorHelp, "question_arrow"}, {GHOST_kStandardCursorWait, "watch"}, @@ -1967,9 +1967,9 @@ static const std::unordered_map ghost_wl_cu {GHOST_kStandardCursorZoomIn, "zoom-in"}, {GHOST_kStandardCursorZoomOut, "zoom-out"}, {GHOST_kStandardCursorMove, "move"}, - {GHOST_kStandardCursorNSEWScroll, "size_all"}, /* Not an exact match. */ - {GHOST_kStandardCursorNSScroll, "size_ver"}, /* Not an exact match. */ - {GHOST_kStandardCursorEWScroll, "size_hor"}, /* Not an exact match. */ + {GHOST_kStandardCursorNSEWScroll, "all-scroll"}, + {GHOST_kStandardCursorNSScroll, "size_ver"}, + {GHOST_kStandardCursorEWScroll, "size_hor"}, {GHOST_kStandardCursorStop, "not-allowed"}, {GHOST_kStandardCursorUpDown, "sb_v_double_arrow"}, {GHOST_kStandardCursorLeftRight, "sb_h_double_arrow"},