mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
wayland: xdg_toplevel_close(): call term_shutdown()
This commit is contained in:
parent
9d5926ce12
commit
2e0888bf3d
1 changed files with 1 additions and 3 deletions
|
|
@ -325,9 +325,7 @@ xdg_toplevel_close(void *data, struct xdg_toplevel *xdg_toplevel)
|
|||
struct wayland *wayl = data;
|
||||
struct terminal *term = wayl_terminal_from_xdg_toplevel(wayl, xdg_toplevel);
|
||||
LOG_DBG("xdg-toplevel: close");
|
||||
|
||||
term->quit = true;
|
||||
wl_display_roundtrip(wayl->display);
|
||||
term_shutdown(term);
|
||||
}
|
||||
|
||||
static const struct xdg_toplevel_listener xdg_toplevel_listener = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue