mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
[Wayland] Fix toplevel close (#13415)
This commit is contained in:
parent
0168fe0303
commit
f17deb90c7
@ -492,7 +492,7 @@ void handle_toplevel_close(void *data,
|
|||||||
struct xdg_toplevel *xdg_toplevel)
|
struct xdg_toplevel *xdg_toplevel)
|
||||||
{
|
{
|
||||||
gfx_ctx_wayland_data_t *wl = (gfx_ctx_wayland_data_t*)data;
|
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,
|
static void display_handle_geometry(void *data,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user