Update x11 sf::Cursor::Hand to use xc_hand2 instead of xc_hand1, in order to be consistent with windows and macos

This commit is contained in:
dan 2022-12-26 16:36:41 -05:00 committed by Lukas Dürrenberger
parent 37db7a83f3
commit 3ae6848727

View File

@ -172,7 +172,7 @@ bool CursorImpl::loadFromSystem(Cursor::Type type)
case Cursor::Arrow: shape = XC_arrow; break; case Cursor::Arrow: shape = XC_arrow; break;
case Cursor::Wait: shape = XC_watch; break; case Cursor::Wait: shape = XC_watch; break;
case Cursor::Text: shape = XC_xterm; break; case Cursor::Text: shape = XC_xterm; break;
case Cursor::Hand: shape = XC_hand1; break; case Cursor::Hand: shape = XC_hand2; break;
case Cursor::SizeHorizontal: shape = XC_sb_h_double_arrow; break; case Cursor::SizeHorizontal: shape = XC_sb_h_double_arrow; break;
case Cursor::SizeVertical: shape = XC_sb_v_double_arrow; break; case Cursor::SizeVertical: shape = XC_sb_v_double_arrow; break;
case Cursor::SizeLeft: shape = XC_left_side; break; case Cursor::SizeLeft: shape = XC_left_side; break;