feat: add scroller_proportion field to IPC client response

This commit is contained in:
Cookiez 2026-06-18 22:23:01 +02:00 committed by DreamMaoMao
parent b0f3049644
commit 915f71ff97

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