X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=i3bar%2Finclude%2Fworkspaces.h;h=5ed84de86e426dc3f9f70dd318a3b4d79dbfb9c2;hb=884214f14fdbd0a4a368d2a36d5e50324fa1d52a;hp=d3d23c8422decde8d6e332fe15bae67533c8f384;hpb=e707e0a5fabf20351d727aecedd7c75db08c850c;p=i3%2Fi3 diff --git a/i3bar/include/workspaces.h b/i3bar/include/workspaces.h index d3d23c84..5ed84de8 100644 --- a/i3bar/include/workspaces.h +++ b/i3bar/include/workspaces.h @@ -2,9 +2,9 @@ * vim:ts=4:sw=4:expandtab * * i3bar - an xcb-based status- and ws-bar for i3 - * © 2010-2012 Axel Wagner and contributors (see also: LICENSE) + * © 2010 Axel Wagner and contributors (see also: LICENSE) * - * workspaces.c: Maintaining the workspace-lists + * workspaces.c: Maintaining the workspace lists * */ #pragma once @@ -18,27 +18,27 @@ typedef struct i3_ws i3_ws; TAILQ_HEAD(ws_head, i3_ws); /* - * Start parsing the received json-string + * Start parsing the received JSON string * */ void parse_workspaces_json(char *json); /* - * free() all workspace data-structures + * free() all workspace data structures * */ void free_workspaces(void); struct i3_ws { - int num; /* The internal number of the ws */ - char *canonical_name; /* The true name of the ws according to the ipc */ - i3String *name; /* The name of the ws that is displayed on the bar */ - int name_width; /* The rendered width of the name */ - bool visible; /* If the ws is currently visible on an output */ - bool focused; /* If the ws is currently focused */ - bool urgent; /* If the urgent-hint of the ws is set */ - rect rect; /* The rect of the ws (not used (yet)) */ - struct i3_output *output; /* The current output of the ws */ - - TAILQ_ENTRY(i3_ws) tailq; /* Pointer for the TAILQ-Macro */ + int num; /* The internal number of the ws */ + char *canonical_name; /* The true name of the ws according to the ipc */ + i3String *name; /* The name of the ws that is displayed on the bar */ + int name_width; /* The rendered width of the name */ + bool visible; /* If the ws is currently visible on an output */ + bool focused; /* If the ws is currently focused */ + bool urgent; /* If the urgent hint of the ws is set */ + rect rect; /* The rect of the ws (not used (yet)) */ + struct i3_output *output; /* The current output of the ws */ + + TAILQ_ENTRY(i3_ws) tailq; /* Pointer for the TAILQ-Macro */ };