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 | Allow for workspace renaming during exec handling (diff) | |
download | sway-6e3046878d4dced3f2e503973ad31d7921c0c400.tar.gz sway-6e3046878d4dced3f2e503973ad31d7921c0c400.tar.zst sway-6e3046878d4dced3f2e503973ad31d7921c0c400.zip |
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 @@ | |||
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <stdbool.h> | 5 | #include <stdbool.h> |
6 | #include <wayland-server-protocol.h> | ||
6 | 7 | ||
7 | /** | 8 | /** |
8 | * Wrap i into the range [0, max[ | 9 | * Wrap i into the range [0, max[ |
@@ -29,4 +30,6 @@ bool parse_boolean(const char *boolean, bool current); | |||
29 | */ | 30 | */ |
30 | float parse_float(const char *value); | 31 | float parse_float(const char *value); |
31 | 32 | ||
33 | const char *sway_wl_output_subpixel_to_string(enum wl_output_subpixel subpixel); | ||
34 | |||
32 | #endif | 35 | #endif |