diff options
author | emersion <contact@emersion.fr> | 2018-01-19 13:14:16 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-19 13:14:16 +0100 |
commit | b296481007f79481a90a82f3dee3aead2883d00c (patch) | |
tree | 1a8b7fe9017925024aed8859109335f51fdede1c /include/rootston | |
parent | a0f24b809e3b5f25885d44f8d2cfd9271ec1c506 (diff) |
rootston: remove repaint timer, listen for damage instead
Diffstat (limited to 'include/rootston')
-rw-r--r-- | include/rootston/output.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rootston/output.h b/include/rootston/output.h index 8d5550af..a80e1f49 100644 --- a/include/rootston/output.h +++ b/include/rootston/output.h @@ -16,10 +16,11 @@ struct roots_output { struct timespec last_frame; pixman_region32_t damage, previous_damage; - struct wl_event_source *repaint_timer; + bool frame_scheduled; struct wl_listener frame; struct wl_listener mode; + struct wl_listener damage_listener; }; void output_add_notify(struct wl_listener *listener, void *data); |