From e11ca7540703f2251eac00cd1ed60a050ca53c2a Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 11 Mar 2010 16:48:48 +0100 Subject: [PATCH] ipc: add active flag --- src/ipc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ipc.c b/src/ipc.c index 15676e4e..0df379b4 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -115,6 +115,9 @@ static void ipc_send_workspaces(int fd) { ystr("name"); ystr(ws->utf8_name); + ystr("active"); + y(bool, ws->output->current_workspace == ws); + ystr("rect"); y(map_open); ystr("x"); -- 2.39.5