This commit is contained in:
Nuno Cruces 2021-09-09 20:43:01 +01:00
parent 01c2abbb00
commit a039780320

View file

@ -132,7 +132,7 @@ func setup() context.CancelFunc {
setThreadDpiAwarenessContext.Call(restore) setThreadDpiAwarenessContext.Call(restore)
} }
if cookie != 0 { if cookie != 0 {
deactivateActCtx.Call(cookie) deactivateActCtx.Call(0, cookie)
} }
runtime.UnlockOSThread() runtime.UnlockOSThread()
} }