swaybar: synchronize rendering to output frames

This commit is contained in:
Ian Fan 2018-09-28 16:17:15 +01:00
parent 4eb3fe4830
commit 02dfeea54c
4 changed files with 48 additions and 23 deletions

View file

@ -83,6 +83,8 @@ struct swaybar_output {
enum wl_output_subpixel subpixel;
struct pool_buffer buffers[2];
struct pool_buffer *current_buffer;
bool dirty;
bool frame_scheduled;
};
struct swaybar_workspace {