Fixed WindowGetSize

This commit is contained in:
Wakeful-Cloud
2021-10-24 18:00:47 -06:00
committed by GitHub
parent d29fa94aa4
commit 717d373668

View File

@@ -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)
}