rootston: fix double-buffering artifacts

This commit is contained in:
emersion 2018-01-18 17:18:21 +01:00
parent 7c11d3e372
commit 8b3f3ddb7f
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 51 additions and 39 deletions

View file

@ -16,7 +16,7 @@ struct roots_output {
struct wl_listener frame;
struct timespec last_frame;
pixman_region32_t damage;
pixman_region32_t damage, previous_damage;
struct wl_event_source *repaint_timer;
};