aboutsummaryrefslogtreecommitdiff
path: root/include/swaybar
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-09-20 20:37:08 -0700
committerFurkan Sahin <furkan-dev@proton.me>2018-09-20 20:37:08 -0700
commite5eca55fc5c8836cd61ec53cc02d71bafabfe1d5 (patch)
treeee7316a573d5feb5332bb5cef509bd37faf5bcf7 /include/swaybar
parent4b4a18236d16564a245d048afbb7bf9349e9f955 (diff)
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.h1
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 {
uint32_t width, height;
int32_t scale;
+ enum wl_output_subpixel subpixel;
struct pool_buffer buffers[2];
struct pool_buffer *current_buffer;
};