Skip to content
Myr

render: reserve space for icons if icons are enabled, and at least one application has an icon

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel Eklöf · committed by Daniel Eklöf · parent 15d5885 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:render.c+1 added-1 removed
683 unmodified lines
684 const struct fcft_glyph *space = fcft_rasterize_char_utf32(685 font, U' ', subpixel);686687 cur_x +=688 (!render->conf->dmenu.enabled || matches_have_icons(matches)688 (render->conf->icons_enabled && matches_have_icons(matches)689 ? (row_height +690 (space != NULL ? space->advance.x : font->max_advance.x))691 : 0) +692 pt_or_px_as_pixels(render, &render->conf->letter_spacing);
127 unmodified lines