• Carlos Garnacho's avatar
    st: Round CSS units to the nearest multiple of the scale factor · a540fe41
    Carlos Garnacho authored
    Actors themed through CSS should ideally get sizes and positions that
    conform to the "pixel grid". A notorious example is the panel that has a
    height of 1.86em. On unchanged font settings and hidpi that translates to
    55px, which leaves the workarea with "half pixels" that hidpi wayland
    applications don't know how to fully cover.
    
    If the requested height is a multiple of the scale factor, the workarea
    and maximized applications can then work on full pixels.
    
    Closes: #91
    a540fe41
Name
Last commit
Last update
.gitlab-ci Loading commit data...
.settings Loading commit data...
data Loading commit data...
docs/reference Loading commit data...
js Loading commit data...
man Loading commit data...
meson Loading commit data...
po Loading commit data...
src Loading commit data...
subprojects Loading commit data...
test Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
HACKING.md Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
README.mdwn Loading commit data...
cldr2json.py Loading commit data...
config.h.meson Loading commit data...
gnome-shell.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...