]> git.sur5r.net Git - i3/i3/commit
Enhance libi3 and use it in i3bar.
authorFernando Tarlá Cardoso Lemos <fernandotcl@gmail.com>
Sun, 13 Nov 2011 19:19:42 +0000 (17:19 -0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 21 Nov 2011 20:52:26 +0000 (20:52 +0000)
commit5c2088c87e0e30947a670094534b838dc2831c94
tree7e58d06598d5958e3827d9f07d579497fa2837db
parent70151ea238926555ea9f80230f53069b8e5b143b
Enhance libi3 and use it in i3bar.

Abstracted draw_text and predict_text_width into libi3. Use
predict_text_width from libi3 in i3 too. This required tracking
xcb_connection in a xcb_connection_t *conn variable that libi3
expects to be available in i3bar.
i3bar/include/xcb.h
i3bar/src/workspaces.c
i3bar/src/xcb.c
include/libi3.h
include/xcb.h
libi3/font.c [new file with mode: 0644]
libi3/load_font.c [deleted file]
src/cfgparse.y
src/config.c
src/sighandler.c
src/xcb.c