mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
render: store frame callback pointer in terminal struct
This allows us to free it when exiting
This commit is contained in:
parent
d7bb83022d
commit
0d24fcafd0
3 changed files with 11 additions and 7 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue