From: Michael Stapelberg Date: Fri, 12 Mar 2010 14:59:38 +0000 (+0100) Subject: ipc: return logical workspace numbers, not internal ones X-Git-Tag: 3.e~6^2~84 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d86531b958babece00593affcd4f1adf0352c819;p=i3%2Fi3 ipc: return logical workspace numbers, not internal ones --- 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);