mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 11:21:28 +00:00
19 lines
443 B
C
19 lines
443 B
C
#ifndef _SWAY_SURFACE_H
|
|
#define _SWAY_SURFACE_H
|
|
#include <wlr/types/wlr_surface.h>
|
|
|
|
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
|