From: Michael Stapelberg Date: Thu, 11 Mar 2010 15:48:48 +0000 (+0100) Subject: ipc: add active flag X-Git-Tag: 3.e~6^2~96 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e11ca7540703f2251eac00cd1ed60a050ca53c2a;p=i3%2Fi3 ipc: add active flag --- 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");