forked from mirror/dwl
Free input_relay
This commit is contained in:
parent
561acf650a
commit
491fa291fa
1 changed files with 7 additions and 0 deletions
7
dwl.c
7
dwl.c
|
@ -765,6 +765,11 @@ chvt(const Arg *arg)
|
||||||
wlr_session_change_vt(wlr_backend_get_session(backend), arg->ui);
|
wlr_session_change_vt(wlr_backend_get_session(backend), arg->ui);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
destroy_input_relay(struct dwl_input_method_relay *relay) {
|
||||||
|
free(relay);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
cleanup(void)
|
cleanup(void)
|
||||||
{
|
{
|
||||||
|
@ -779,6 +784,8 @@ cleanup(void)
|
||||||
wlr_output_layout_destroy(output_layout);
|
wlr_output_layout_destroy(output_layout);
|
||||||
wlr_seat_destroy(seat);
|
wlr_seat_destroy(seat);
|
||||||
wl_display_destroy(dpy);
|
wl_display_destroy(dpy);
|
||||||
|
|
||||||
|
destroy_input_relay(input_relay);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue