diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-09-28 16:17:15 +0100 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-09-30 10:07:33 +0100 |
commit | 02dfeea54c4eac2a96c0d8d614d5c16d96358ad0 (patch) | |
tree | 1f1d49abca1369c7e165991f69d8451f01af5c2f /include/swaybar/bar.h | |
parent | Merge pull request #2732 from RyanDwyer/fix-zero-outputs (diff) | |
download | sway-02dfeea54c4eac2a96c0d8d614d5c16d96358ad0.tar.gz sway-02dfeea54c4eac2a96c0d8d614d5c16d96358ad0.tar.zst sway-02dfeea54c4eac2a96c0d8d614d5c16d96358ad0.zip |
swaybar: synchronize rendering to output frames
Diffstat (limited to 'include/swaybar/bar.h')
-rw-r--r-- | include/swaybar/bar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h index 20992014..de234111 100644 --- a/include/swaybar/bar.h +++ b/include/swaybar/bar.h | |||
@@ -83,6 +83,8 @@ struct swaybar_output { | |||
83 | enum wl_output_subpixel subpixel; | 83 | enum wl_output_subpixel subpixel; |
84 | struct pool_buffer buffers[2]; | 84 | struct pool_buffer buffers[2]; |
85 | struct pool_buffer *current_buffer; | 85 | struct pool_buffer *current_buffer; |
86 | bool dirty; | ||
87 | bool frame_scheduled; | ||
86 | }; | 88 | }; |
87 | 89 | ||
88 | struct swaybar_workspace { | 90 | struct swaybar_workspace { |