[Wayland] Fix toplevel close (#13415)

This commit is contained in:
Aleksey Samoilov 2021-12-25 14:19:27 +04:00 committed by GitHub
parent 0168fe0303
commit f17deb90c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -492,7 +492,7 @@ void handle_toplevel_close(void *data,
struct xdg_toplevel *xdg_toplevel)
{
gfx_ctx_wayland_data_t *wl = (gfx_ctx_wayland_data_t*)data;
BIT_SET(wl->input.key_state, KEY_ESC);
command_event(CMD_EVENT_QUIT, NULL);
}
static void display_handle_geometry(void *data,