diff --git a/src/ipc.c b/src/ipc.c index 8bae4f07..0d1d5b5c 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -116,7 +116,7 @@ static void ipc_send_workspaces(int fd) { y(map_open); ystr("num"); - y(integer, ws->num); + y(integer, ws->num + 1); ystr("name"); ystr(ws->utf8_name);