2 * vim:ts=4:sw=4:expandtab
4 * i3bar - an xcb-based status- and ws-bar for i3
5 * © 2010-2011 Axel Wagner and contributors (see also: LICENSE)
13 #include <xcb/xproto.h>
16 typedef struct rect_t rect;
18 struct ev_loop* main_loop;
20 char *statusline_buffer;
29 /* This data structure represents one JSON dictionary, multiple of these make
30 * up one status line. */
36 /* full_text, but converted to UCS-2. This variable is only temporarily
37 * used in refresh_statusline(). */
38 xcb_char2b_t *ucs2_full_text;
39 size_t glyph_count_full_text;
41 /* The amount of pixels necessary to render this block. This variable is
42 * only temporarily used in refresh_statusline(). */
45 TAILQ_ENTRY(status_block) blocks;
48 TAILQ_HEAD(statusline_head, status_block) statusline_head;
54 #include "workspaces.h"
55 #include "trayclients.h"
59 #include "determine_json_version.h"