diff options
Diffstat (limited to 'include/sway/surface.h')
-rw-r--r-- | include/sway/surface.h | 7 |
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 { struct wlr_surface *wlr_surface; struct wl_listener destroy; + + /** + * This timer can be used for issuing delayed frame done callbacks (for + * example, to improve presentation latency). Its handler is set to a + * function that issues a frame done callback to this surface. + */ + struct wl_event_source *frame_done_timer; }; #endif |