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