Mercurial > games > semicongine
changeset 1151:911e43f0ee50
fix: mouse-pointer handling
author | sam@sambook-windows.localdomain |
---|---|
date | Sat, 15 Jun 2024 15:13:31 +0700 |
parents | 11cd3a057d85 |
children | 2ce0c75f5715 |
files | semicongine/platform/windows/window.nim |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/semicongine/platform/windows/window.nim Sat Jun 15 14:31:17 2024 +0700 +++ b/semicongine/platform/windows/window.nim Sat Jun 15 15:13:31 2024 +0700 @@ -66,7 +66,9 @@ of WM_SETCURSOR: if LOWORD(lParam) == HTCLIENT: SetCursor(invisibleCursor) - return 0 + return 1 + else: + return DefWindowProc(hwnd, uMsg, wParam, lParam) else: return DefWindowProc(hwnd, uMsg, wParam, lParam)