summaryrefslogtreecommitdiffstats
path: root/include/sway/surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/surface.h')
-rw-r--r--include/sway/surface.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/surface.h b/include/sway/surface.h
index 06874af2..4da96c02 100644
--- a/include/sway/surface.h
+++ b/include/sway/surface.h
@@ -6,6 +6,13 @@ struct sway_surface {
6 struct wlr_surface *wlr_surface; 6 struct wlr_surface *wlr_surface;
7 7
8 struct wl_listener destroy; 8 struct wl_listener destroy;
9
10 /**
11 * This timer can be used for issuing delayed frame done callbacks (for
12 * example, to improve presentation latency). Its handler is set to a
13 * function that issues a frame done callback to this surface.
14 */
15 struct wl_event_source *frame_done_timer;
9}; 16};
10 17
11#endif 18#endif