feat: add scroller_proportion field to IPC client response

This commit is contained in:
Cookiez 2026-06-18 22:23:01 +02:00
parent 5583f8901a
commit 4c2220384c

View file

@ -164,6 +164,7 @@ static cJSON *build_client_json(Client *c) {
cJSON_AddNumberToObject(obj, "y", c->geom.y); cJSON_AddNumberToObject(obj, "y", c->geom.y);
cJSON_AddNumberToObject(obj, "width", c->geom.width); cJSON_AddNumberToObject(obj, "width", c->geom.width);
cJSON_AddNumberToObject(obj, "height", c->geom.height); cJSON_AddNumberToObject(obj, "height", c->geom.height);
cJSON_AddNumberToObject(obj, "scroller_proportion", (double)c->scroller_proportion);
return obj; return obj;
} }