Merge pull request #893 from Wakeful-Cloud/master

Fixed WindowGetSize
This commit is contained in:
Lea Anthony
2021-10-25 19:20:47 +11:00
committed by GitHub

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