mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-27 21:58:16 +01:00
d6f8820a8b
See [1] for details. [1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3412
18 lines
446 B
C
18 lines
446 B
C
#ifndef _SWAY_SURFACE_H
|
|
#define _SWAY_SURFACE_H
|
|
#include <wlr/types/wlr_compositor.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
|