event: lazify screen update

Set root screen change flag in event handler, and update in
draw_callback.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-03-17 15:17:48 +00:00
parent e414fee91f
commit e8f2298159
4 changed files with 39 additions and 25 deletions

View File

@ -345,6 +345,8 @@ typedef struct session {
xcb_sync_fence_t sync_fence;
// === Operation related ===
/// Flags related to the root window
uint64_t root_flags;
/// Program options.
options_t o;
/// Whether we have hit unredirection timeout.