diff --git a/pkg/edge/ICoreWebView2Controller.go b/pkg/edge/ICoreWebView2Controller.go index d552041..d26dc0a 100644 --- a/pkg/edge/ICoreWebView2Controller.go +++ b/pkg/edge/ICoreWebView2Controller.go @@ -76,7 +76,7 @@ func (i *ICoreWebView2Controller) MoveFocus(reason COREWEBVIEW2_MOVE_FOCUS_REASO _, _, err = i.vtbl.MoveFocus.Call( uintptr(unsafe.Pointer(i)), - uintptr(reason), + uintptr(unsafe.Pointer(&reason)), ) if err != windows.ERROR_SUCCESS { return err