# HG changeset patch # User sam # Date 1718436677 -25200 # Node ID 11cd3a057d85b25b1472ea72d072cf4f315fc648 # Parent 5a42f044c8fdcf2077ce347320af8317fd92bb0d fix: windows cursor not visible on border 1 diff -r 5a42f044c8fd -r 11cd3a057d85 semicongine/platform/windows/window.nim --- a/semicongine/platform/windows/window.nim Sat Jun 15 14:19:19 2024 +0700 +++ b/semicongine/platform/windows/window.nim Sat Jun 15 14:31:17 2024 +0700 @@ -24,7 +24,7 @@ let andCursorMask = [0xff] let xorCursorMask = [0x00] -let invisibleCursor = CreateCursor(0, 0, 1, 1, pointer(addr andCursorMask), pointer(addr xorCursorMask)) +let invisibleCursor = CreateCursor(HINSTANCE(0), 0, 0, 1, 1, pointer(addr andCursorMask), pointer(addr xorCursorMask)) proc MapLeftRightKeys(key: INT, lparam: LPARAM): INT = case key