diff --git a/v2/internal/frontend/dispatcher/systemcalls.go b/v2/internal/frontend/dispatcher/systemcalls.go index 56b1b30d8..8d23d54bf 100644 --- a/v2/internal/frontend/dispatcher/systemcalls.go +++ b/v2/internal/frontend/dispatcher/systemcalls.go @@ -30,7 +30,7 @@ func (d *Dispatcher) processSystemCall(payload callMessage, sender frontend.Fron return &position{x, y}, nil case "WindowGetSize": w, h := sender.WindowGetSize() - return &position{w, h}, nil + return &size{w, h}, nil default: return nil, fmt.Errorf("unknown systemcall message: %s", payload.Name) }