Skip to content

Commit

Permalink
Merge pull request #20 from wailsapp/bugfix/18_focus
Browse files Browse the repository at this point in the history
Fix MoveFocus
  • Loading branch information
leaanthony authored Sep 5, 2024
2 parents ec81843 + c9ec2e1 commit 75305f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/edge/ICoreWebView2Controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 75305f4

Please sign in to comment.