diff options
author | Geoff Greer <geoff@greer.fm> | 2019-02-10 16:56:57 -0800 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-03-24 09:37:24 +0200 |
commit | 6e3046878d4dced3f2e503973ad31d7921c0c400 (patch) | |
tree | 6a8b5b2204624848edb0b37ecfad8c7764bd2633 /include/util.h | |
parent | 200833caaea36dd65324e5460520731f5c98ff8a (diff) |
Add support for manually setting subpixel hinting on outputs.
Many laptop screens report unknown subpixel order. Allow users to manually set subpixel hinting to work around this.
Addresses https://github.com/swaywm/sway/issues/3163
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h index 1fd772c0..6a668fd6 100644 --- a/include/util.h +++ b/include/util.h @@ -3,6 +3,7 @@ #include <stdint.h> #include <stdbool.h> +#include <wayland-server-protocol.h> /** * Wrap i into the range [0, max[ @@ -29,4 +30,6 @@ bool parse_boolean(const char *boolean, bool current); */ float parse_float(const char *value); +const char *sway_wl_output_subpixel_to_string(enum wl_output_subpixel subpixel); + #endif |