Alexandre Julliard : winex11: Avoid left_side/top_side cursor names.

Alexandre Julliard julliard at winehq.org
Fri Apr 27 13:26:03 CDT 2018


Module: wine
Branch: master
Commit: c102efbc3522f5954d6150296c14dedfc7fe5fb7
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c102efbc3522f5954d6150296c14dedfc7fe5fb7

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Apr 27 10:34:16 2018 +0200

winex11: Avoid left_side/top_side cursor names.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winex11.drv/mouse.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c
index fdca083..8b2966d 100644
--- a/dlls/winex11.drv/mouse.c
+++ b/dlls/winex11.drv/mouse.c
@@ -834,8 +834,8 @@ static const struct system_cursors user32_cursors[] =
     { OCR_ICON,        { "icon" }},
     { OCR_SIZENWSE,    { "top_left_corner", "nw-resize" }},
     { OCR_SIZENESW,    { "top_right_corner", "ne-resize" }},
-    { OCR_SIZEWE,      { "left_side", "size_hor", "h_double_arrow", "ew-resize" }},
-    { OCR_SIZENS,      { "top_side", "size_ver", "v_double_arrow", "ns-resize" }},
+    { OCR_SIZEWE,      { "h_double_arrow", "size_hor", "ew-resize" }},
+    { OCR_SIZENS,      { "v_double_arrow", "size_ver", "ns-resize" }},
     { OCR_NO,          { "not-allowed", "forbidden", "no-drop" }},
     { OCR_HAND,        { "hand2", "pointer", "pointing-hand" }},
     { OCR_APPSTARTING, { "left_ptr_watch" }},
@@ -924,6 +924,7 @@ static const struct cursor_font_fallback fallbacks[] =
     { "fleur",               XC_fleur },
     { "gobbler",             XC_gobbler },
     { "gumby",               XC_gumby },
+    { "h_double_arrow",      XC_sb_h_double_arrow },
     { "hand1",               XC_hand1 },
     { "hand2",               XC_hand2 },
     { "heart",               XC_heart },
@@ -971,6 +972,7 @@ static const struct cursor_font_fallback fallbacks[] =
     { "ul_angle",            XC_ul_angle },
     { "umbrella",            XC_umbrella },
     { "ur_angle",            XC_ur_angle },
+    { "v_double_arrow",      XC_sb_v_double_arrow },
     { "watch",               XC_watch },
     { "xterm",               XC_xterm }
 };




More information about the wine-cvs mailing list