ipc: add active flag

This commit is contained in:
Michael Stapelberg 2010-03-11 16:48:48 +01:00
parent 9a9ba1b859
commit e11ca75407
1 changed files with 3 additions and 0 deletions

View File

@ -115,6 +115,9 @@ static void ipc_send_workspaces(int fd) {
ystr("name"); ystr("name");
ystr(ws->utf8_name); ystr(ws->utf8_name);
ystr("active");
y(bool, ws->output->current_workspace == ws);
ystr("rect"); ystr("rect");
y(map_open); y(map_open);
ystr("x"); ystr("x");