diff options
author | Geoff Greer <geoff@greer.fm> | 2018-09-20 20:37:08 -0700 |
---|---|---|
committer | Geoff Greer <geoff@greer.fm> | 2018-09-22 11:34:21 -0700 |
commit | c495164f6059d8f352afeead86a510365cc802a1 (patch) | |
tree | ee7316a573d5feb5332bb5cef509bd37faf5bcf7 /include/swaybar | |
parent | Merge pull request #2660 from RyanDwyer/fix-scratchpad-iteration (diff) | |
download | sway-c495164f6059d8f352afeead86a510365cc802a1.tar.gz sway-c495164f6059d8f352afeead86a510365cc802a1.tar.zst sway-c495164f6059d8f352afeead86a510365cc802a1.zip |
swaybar, swaylock, & tree/container: Set cairo font options to render text and lines with subpixel hinting (if available).
Diffstat (limited to 'include/swaybar')
-rw-r--r-- | include/swaybar/bar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h index 4065fb8b..29e96159 100644 --- a/include/swaybar/bar.h +++ b/include/swaybar/bar.h | |||
@@ -81,6 +81,7 @@ struct swaybar_output { | |||
81 | 81 | ||
82 | uint32_t width, height; | 82 | uint32_t width, height; |
83 | int32_t scale; | 83 | int32_t scale; |
84 | enum wl_output_subpixel subpixel; | ||
84 | struct pool_buffer buffers[2]; | 85 | struct pool_buffer buffers[2]; |
85 | struct pool_buffer *current_buffer; | 86 | struct pool_buffer *current_buffer; |
86 | }; | 87 | }; |