app: make cursor support more robust on Windows

Post a dedicated message upon Window.SetCursor calls.
Make sure that the cursor is only changed if the cursor is in the window.

Signed-off-by: pierre <pierre.curto@gmail.com>
This commit is contained in:
pierre
2021-01-27 16:32:05 +01:00
committed by Elias Naur
parent 57872856e8
commit f7d1f46c1f
2 changed files with 21 additions and 3 deletions
+2
View File
@@ -61,6 +61,8 @@ const (
CW_USEDEFAULT = -2147483648
HTCLIENT = 1
IDC_ARROW = 32512
IDC_IBEAM = 32513
IDC_HAND = 32649