diff options
author | Drew DeVault <[email protected]> | 2018-09-08 09:19:47 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2018-09-08 09:19:47 -0400 |
commit | 3600b3db577298bc553c394a4b09e71163f76561 (patch) | |
tree | a1defcadae4b1d07388fd9e6bfe2a09051aec777 /sway/debug-tree.c | |
parent | 030b5bc02455bc936a9a7fedc05c3f9b7c813098 (diff) | |
parent | 9215ca0f01f7d155191d11fd9caa2574387c6f84 (diff) |
Merge pull request #2602 from RyanDwyer/fix-title-textures
Fix gaps in title textures and vertically center them
Diffstat (limited to 'sway/debug-tree.c')
-rw-r--r-- | sway/debug-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/debug-tree.c b/sway/debug-tree.c index 973c6d88..9644f4e5 100644 --- a/sway/debug-tree.c +++ b/sway/debug-tree.c @@ -84,7 +84,7 @@ static int draw_node(cairo_t *cairo, struct sway_node *node, struct sway_node *focus, int x, int y) { int text_width, text_height; char *buffer = get_string(node); - get_text_size(cairo, "monospace", &text_width, &text_height, + get_text_size(cairo, "monospace", &text_width, &text_height, NULL, 1, false, buffer); cairo_save(cairo); cairo_rectangle(cairo, x + 2, y, text_width - 2, text_height); |