From e53758943f0fbd774dcc2ce5229cd1d082308cca Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sun, 1 Dec 2024 08:36:54 +1100 Subject: [PATCH] Revert "Fix MoveFocus" This reverts commit c9ec2e104be806f6882abdd7291d883522a50cd5. --- pkg/edge/ICoreWebView2Controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/edge/ICoreWebView2Controller.go b/pkg/edge/ICoreWebView2Controller.go index d26dc0a..d552041 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(unsafe.Pointer(&reason)), + uintptr(reason), ) if err != windows.ERROR_SUCCESS { return err