• 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
..
meson.build Loading commit data...
st-adjustment.c Loading commit data...
st-adjustment.h Loading commit data...
st-bin.c Loading commit data...
st-bin.h Loading commit data...
st-border-image.c Loading commit data...
st-border-image.h Loading commit data...
st-box-layout-child.c Loading commit data...
st-box-layout-child.h Loading commit data...
st-box-layout.c Loading commit data...
st-box-layout.h Loading commit data...
st-button.c Loading commit data...
st-button.h Loading commit data...
st-clipboard.c Loading commit data...
st-clipboard.h Loading commit data...
st-drawing-area.c Loading commit data...
st-drawing-area.h Loading commit data...
st-entry.c Loading commit data...
st-entry.h Loading commit data...
st-focus-manager.c Loading commit data...
st-focus-manager.h Loading commit data...
st-generic-accessible.c Loading commit data...
st-generic-accessible.h Loading commit data...
st-icon-colors.c Loading commit data...
st-icon-colors.h Loading commit data...
st-icon.c Loading commit data...
st-icon.h Loading commit data...
st-image-content.c Loading commit data...
st-image-content.h Loading commit data...
st-label.c Loading commit data...
st-label.h Loading commit data...
st-private.c Loading commit data...
st-private.h Loading commit data...
st-scroll-bar.c Loading commit data...
st-scroll-bar.h Loading commit data...
st-scroll-view-fade.c Loading commit data...
st-scroll-view-fade.glsl Loading commit data...
st-scroll-view-fade.h Loading commit data...
st-scroll-view.c Loading commit data...
st-scroll-view.h Loading commit data...
st-scrollable.c Loading commit data...
st-scrollable.h Loading commit data...
st-settings.c Loading commit data...
st-settings.h Loading commit data...
st-shadow.c Loading commit data...
st-shadow.h Loading commit data...
st-texture-cache.c Loading commit data...
st-texture-cache.h Loading commit data...
st-theme-context.c Loading commit data...
st-theme-context.h Loading commit data...
st-theme-node-drawing.c Loading commit data...
st-theme-node-private.h Loading commit data...
st-theme-node-transition.c Loading commit data...
st-theme-node-transition.h Loading commit data...
st-theme-node.c Loading commit data...
st-theme-node.h Loading commit data...
st-theme-private.h Loading commit data...
st-theme.c Loading commit data...
st-theme.h Loading commit data...
st-types.h Loading commit data...
st-widget-accessible.h Loading commit data...
st-widget.c Loading commit data...
st-widget.h Loading commit data...
st.h.in Loading commit data...
test-theme.c Loading commit data...
test-theme.css Loading commit data...