diff options
| author | Federico Angelilli <code@fedang.net> | 2023-11-19 22:28:35 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2023-11-19 22:28:35 +0100 |
| commit | 7bb670a21a3e6234ac70a031ecc164159559285a (patch) | |
| tree | eb3d59c466049ec72ac88abd9335cf96a4835e1e /src/draw.c | |
| parent | 89b205f3138b94325458ab121d5adb4a00091860 (diff) | |
Add date buttons with periodic updates
Diffstat (limited to 'src/draw.c')
| -rw-r--r-- | src/draw.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -118,6 +118,13 @@ void draw_paint(Drawable *draw, Window *win) pango_cairo_show_layout(cr, layout->pl); } + // Draw midpoint line + //cairo_set_source_rgba(cr, 1, 1, 1, 1); + //cairo_set_line_width(cr, 3); + //cairo_move_to(cr, width / 2, 0); + //cairo_line_to(cr, width / 2, height); + //cairo_stroke(cr); + cairo_destroy(cr); // TODO: Move these somewhere else @@ -247,7 +254,6 @@ void draw_compute_layout(Drawable *draw, Window *win, GList *btns) } log_debug("Updated layouts"); - g_list_free(btns); } void draw_set_background(Drawable *draw, Color background) |
