diff options
author | emersion <contact@emersion.fr> | 2018-01-18 11:42:54 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-18 11:42:54 +0100 |
commit | 5089f2d9fbcbc76c985e3a93b6fb694b57f116aa (patch) | |
tree | 955ce4f229ebb2940ef42b342c5dd8b5252ae70d /include/rootston | |
parent | 1a084807ce6ce1d8e4b8c35e3195240507ebffe8 (diff) |
rootston: do not swap buffers when output isn't damaged
Diffstat (limited to 'include/rootston')
-rw-r--r-- | include/rootston/output.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/rootston/output.h b/include/rootston/output.h index e7f49227..d44479ed 100644 --- a/include/rootston/output.h +++ b/include/rootston/output.h @@ -10,11 +10,14 @@ struct roots_desktop; struct roots_output { struct roots_desktop *desktop; struct wlr_output *wlr_output; - struct wl_listener frame; - struct timespec last_frame; struct wl_list link; // roots_desktop:outputs + struct roots_view *fullscreen_view; + + struct wl_listener frame; + struct timespec last_frame; pixman_region32_t damage; + struct wl_event_source *repaint_timer; }; void output_add_notify(struct wl_listener *listener, void *data); |