diff --git a/util_windows.go b/util_windows.go index 22cfd90..5029d52 100644 --- a/util_windows.go +++ b/util_windows.go @@ -132,7 +132,7 @@ func setup() context.CancelFunc { setThreadDpiAwarenessContext.Call(restore) } if cookie != 0 { - deactivateActCtx.Call(cookie) + deactivateActCtx.Call(0, cookie) } runtime.UnlockOSThread() }