mirror of
https://github.com/swaywm/sway.git
synced 2025-04-06 20:37:46 +03:00
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
This commit is contained in:
parent
200833caae
commit
6e3046878d
14 changed files with 102 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue