aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/output.h
diff options
context:
space:
mode:
authorLibravatar Geoff Greer <geoff@greer.fm>2019-02-10 16:56:57 -0800
committerLibravatar emersion <contact@emersion.fr>2019-03-24 09:37:24 +0200
commit6e3046878d4dced3f2e503973ad31d7921c0c400 (patch)
tree6a8b5b2204624848edb0b37ecfad8c7764bd2633 /include/sway/output.h
parentAllow for workspace renaming during exec handling (diff)
downloadsway-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/sway/output.h')
-rw-r--r--include/sway/output.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index 8015f211..c336c559 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -31,6 +31,7 @@ struct sway_output {
31 31
32 int lx, ly; // layout coords 32 int lx, ly; // layout coords
33 int width, height; // transformed buffer size 33 int width, height; // transformed buffer size
34 enum wl_output_subpixel detected_subpixel;
34 35
35 bool enabled, configured; 36 bool enabled, configured;
36 list_t *workspaces; 37 list_t *workspaces;