mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-19 14:33:16 -04:00
feat: add scroller_proportion field to IPC client response
This commit is contained in:
parent
5583f8901a
commit
4c2220384c
1 changed files with 1 additions and 0 deletions
|
|
@ -164,6 +164,7 @@ static cJSON *build_client_json(Client *c) {
|
|||
cJSON_AddNumberToObject(obj, "y", c->geom.y);
|
||||
cJSON_AddNumberToObject(obj, "width", c->geom.width);
|
||||
cJSON_AddNumberToObject(obj, "height", c->geom.height);
|
||||
cJSON_AddNumberToObject(obj, "scroller_proportion", (double)c->scroller_proportion);
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue