ystr("orientation");
y(integer, con->orientation);
+ ystr("percent");
+ y(double, con->percent);
+
ystr("urgent");
y(integer, con->urgent);
}
IPC_HANDLER(tree) {
+ setlocale(LC_NUMERIC, "C");
yajl_gen gen = yajl_gen_alloc(NULL, NULL);
dump_node(gen, croot, false);
+ setlocale(LC_NUMERIC, "");
const unsigned char *payload;
unsigned int length;
#define ystr(str) yajl_gen_string(gen, (unsigned char*)str, strlen(str))
void store_restart_layout() {
+ setlocale(LC_NUMERIC, "C");
yajl_gen gen = yajl_gen_alloc(NULL, NULL);
dump_node(gen, croot, true);
+ setlocale(LC_NUMERIC, "");
+
const unsigned char *payload;
unsigned int length;
y(get_buf, &payload, &length);