Carlos Garnacho a540fe4130 st: Round CSS units to the nearest multiple of the scale factor
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: https://gitlab.gnome.org/GNOME/gnome-shell/issues/91
2019-04-17 18:46:37 +00:00
..
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2019-02-06 18:29:15 +01:00
2019-02-06 18:29:15 +01:00
2019-01-09 23:09:18 +00:00
2015-10-15 22:59:49 +02:00
2018-01-12 11:48:49 +01:00
2018-01-12 11:48:49 +01:00
2019-01-30 22:50:01 +01:00
2017-08-02 11:27:42 +01:00
2015-10-15 22:58:28 +02:00