From 717d3736685870741333154be338dea9b3e7a2b7 Mon Sep 17 00:00:00 2001 From: Wakeful-Cloud Date: Sun, 24 Oct 2021 18:00:47 -0600 Subject: [PATCH] Fixed WindowGetSize --- v2/internal/frontend/dispatcher/systemcalls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }