aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/output.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-19 11:31:04 +0100
committeremersion <contact@emersion.fr>2018-01-19 11:31:04 +0100
commit7f9f918b78f438c60f959b30d6111acdfa4dfc27 (patch)
treeecb59c206e8c02e6e06862a193f1e7786df0e3a7 /include/rootston/output.h
parent443bd4cd898b86cf1056416f58e30cb451d1fcd4 (diff)
rootston: damage output on mode change
Diffstat (limited to 'include/rootston/output.h')
-rw-r--r--include/rootston/output.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/rootston/output.h b/include/rootston/output.h
index a0b2b1b4..8d5550af 100644
--- a/include/rootston/output.h
+++ b/include/rootston/output.h
@@ -14,10 +14,12 @@ struct roots_output {
struct roots_view *fullscreen_view;
- struct wl_listener frame;
struct timespec last_frame;
pixman_region32_t damage, previous_damage;
struct wl_event_source *repaint_timer;
+
+ struct wl_listener frame;
+ struct wl_listener mode;
};
void output_add_notify(struct wl_listener *listener, void *data);