diff options
| author | Federico Angelilli <code@fedang.net> | 2023-11-19 01:32:37 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2023-11-19 01:32:37 +0100 |
| commit | 07646612acbc833ec50479eee3564af37636f272 (patch) | |
| tree | b3cfa4d2e90218714c144277b0819065a80090f1 /src/draw.c | |
| parent | 6dd4c979c40804756ef4d3ca5ac34671c3bcc7e2 (diff) | |
Check button clicks and trigger actions
Diffstat (limited to 'src/draw.c')
| -rw-r--r-- | src/draw.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -12,14 +12,6 @@ // (this will also work for animations in the future) // or use some flags to trigger drawing -typedef struct { - Button *btn; - int x, y; - int width, height; - int text_w, text_h; - PangoLayout *pl; -} Layout; - static void layout_destroy(Layout *layout) { g_object_unref(layout->pl); @@ -114,7 +106,6 @@ void draw_paint(Drawable *draw, Window *win) pango_cairo_update_layout(cr, layout->pl); pango_cairo_show_layout(cr, layout->pl); - } cairo_destroy(cr); |
