HumbleUI / JWM

Cross-platform window management and OS integration library for Java
Apache License 2.0
552 stars 44 forks source link

fix: display arrow cursor by default #170 #179

Closed i10416 closed 2 years ago

i10416 commented 2 years ago

Processing WM_SETCURSOR prevented class cursor from being redrawn and setMouseCursorInternal called SetCursor with nullptr because _hMouseCursor is nullptr until setMouseCursor function is called(e.g. when user hovers on the PanelMouseCursors). Therefore, mouse cursor was not displayed until user hovered on PanelMouseCursors.

tonsky commented 2 years ago

Thank you!