Skip to content
Myr

render: remove extra left-side padding in dmenu mode

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

We used to add “extra” padding in dmenu mode, corresponding to where the icon would have been rendered in non-dmenu mode. Closes #158

authored by Daniel Eklöf · committed by Daniel Eklöf · parent 6a85519 · Browse files · 2 files+9 added−2 removed
This commit

State

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

Diff stats

2 files+9 added−2 removed

  • other:+9 added−2 removed

2 files+9 added−2 removed

modified:CHANGELOG.md+4 added
61 unmodified lines
62* The large image displayed when there are only a “few” matches is now63 smaller by default.64* Swapped meaning of the command line options `-p` and `-P`; `-p` is65 now the short option for `--prompt` ([#146][146]).66* Do not add icon-sized padding on the left size in dmenu mode67 ([#158][158]).686970[101]: https://codeberg.org/dnkl/fuzzel/issues/10171[106]: https://codeberg.org/dnkl/fuzzel/issues/10672[124]: https://codeberg.org/dnkl/fuzzel/issues/12473[146]: https://codeberg.org/dnkl/fuzzel/issues/14674[158]: https://codeberg.org/dnkl/fuzzel/issues/158757677### Deprecated78### Removed
314 unmodified lines
modified:render.c+5 added-2 removed
682 unmodified lines
683684 const struct fcft_glyph *space = fcft_rasterize_char_utf32(685 font, U' ', subpixel);686687 cur_x +=688 (!render->conf->dmenu.enabled687 cur_x += row_height +688 (space != NULL ? space->advance.x : font->max_advance.x) +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);693694 /* Application title */695 render_match_text(
124 unmodified lines