From d86531b958babece00593affcd4f1adf0352c819 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 12 Mar 2010 15:59:38 +0100 Subject: [PATCH] ipc: return logical workspace numbers, not internal ones --- src/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5