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 /sway/commands/output.c | |
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 'sway/commands/output.c')
-rw-r--r-- | sway/commands/output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands/output.c b/sway/commands/output.c index 40dbf3ca..44e28512 100644 --- a/sway/commands/output.c +++ b/sway/commands/output.c | |||
@@ -18,6 +18,7 @@ static struct cmd_handler output_handlers[] = { | |||
18 | { "res", output_cmd_mode }, | 18 | { "res", output_cmd_mode }, |
19 | { "resolution", output_cmd_mode }, | 19 | { "resolution", output_cmd_mode }, |
20 | { "scale", output_cmd_scale }, | 20 | { "scale", output_cmd_scale }, |
21 | { "subpixel", output_cmd_subpixel }, | ||
21 | { "transform", output_cmd_transform }, | 22 | { "transform", output_cmd_transform }, |
22 | }; | 23 | }; |
23 | 24 | ||