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/swaylock | |
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/swaylock')
-rw-r--r-- | include/swaylock/swaylock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/swaylock/swaylock.h b/include/swaylock/swaylock.h index 950cfaaf..2f0cd34d 100644 --- a/include/swaylock/swaylock.h +++ b/include/swaylock/swaylock.h | |||
@@ -82,6 +82,7 @@ struct swaylock_surface { | |||
82 | bool frame_pending, dirty; | 82 | bool frame_pending, dirty; |
83 | uint32_t width, height; | 83 | uint32_t width, height; |
84 | int32_t scale; | 84 | int32_t scale; |
85 | enum wl_output_subpixel subpixel; | ||
85 | char *output_name; | 86 | char *output_name; |
86 | struct wl_list link; | 87 | struct wl_list link; |
87 | }; | 88 | }; |