diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-09 07:23:32 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-09 07:23:32 +0000 |
| commit | 0d24fcafd0f12908b40b82986bc26db2762daf6f (patch) | |
| tree | 3e3c3b4e6307d614c49036a6b8a3e7b897aaf489 /terminal.h | |
| parent | cleanup (diff) | |
render: store frame callback pointer in terminal struct
This allows us to free it when exiting
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,6 +7,7 @@ #include <threads.h> #include <cairo.h> +#include <wayland-client.h> #include <xkbcommon/xkbcommon.h> #include <xkbcommon/xkbcommon-keysyms.h> @@ -241,7 +242,7 @@ struct terminal { cairo_font_extents_t fextents; struct wayland wl; - bool frame_is_scheduled; + struct wl_callback *frame_callback; }; void term_damage_all(struct terminal *term); |
