Add window resize indicator

This commit is contained in:
Consolatis 2023-08-17 18:59:29 +02:00
parent c8321e3264
commit 58b33fb0c9
12 changed files with 296 additions and 0 deletions

View file

@ -51,6 +51,7 @@ font_extents(struct font *font, const char *string)
pango_extents_to_pixels(&rect, NULL);
/* we put a 2 px edge on each side - because Openbox does it :) */
/* TODO: remove the 4 pixel addition and always do the padding by the caller */
rect.width += 4;
cairo_destroy(c);