diff options
author | Ian Huang <imyxh@protonmail.com> | 2020-04-19 17:56:11 -0700 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-04-20 09:26:37 +0200 |
commit | 276e0301e0d68cc799a7073d26a7a10c11d036ff (patch) | |
tree | 9c14a3c5a87e2d89fb9b5949760ecf3d1f4b29a2 /swaybar/bar.c | |
parent | 2b15cf453e4b28324e9012515011a705c2960b30 (diff) |
interpret "subpixel none" as CAIRO_ANTIALIAS_GRAY
See issue #5228. Currently, WL_OUTPUT_SUBPIXEL_NONE is ignored and
CAIRO_ANTIALIAS_SUBPIXEL is still set. This commit checks if subpixel is
set to none and if so, calls set_antialias with CAIRO_ANTIALIAS_GRAY.
This mirrors the functionality in Mako's
[PR261](https://github.com/emersion/mako/pull/261)
Diffstat (limited to 'swaybar/bar.c')
0 files changed, 0 insertions, 0 deletions