Draw nice borders. Looks like wmii now :P

This commit is contained in:
Michael Stapelberg
2009-02-10 00:39:48 +01:00
parent 90e3541c94
commit 2562502316
3 changed files with 104 additions and 37 deletions

1
font.c
View File

@ -21,6 +21,7 @@ void check_error(xcb_connection_t *connection, xcb_void_cookie_t cookie, char *e
Font *load_font(xcb_connection_t *c, const char *pattern) {
/* TODO: this function should be caching */
Font *new = malloc(sizeof(Font));
xcb_list_fonts_with_info_cookie_t cookie = xcb_list_fonts_with_info(c, 1, strlen(pattern), pattern);