mirror of
https://github.com/swaywm/sway.git
synced 2026-04-03 07:15:39 -04: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
|
|
@ -92,6 +92,7 @@ struct sway_output *output_create(struct wlr_output *wlr_output) {
|
|||
node_init(&output->node, N_OUTPUT, output);
|
||||
output->wlr_output = wlr_output;
|
||||
wlr_output->data = output;
|
||||
output->detected_subpixel = wlr_output->subpixel;
|
||||
|
||||
wl_signal_init(&output->events.destroy);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue