From ae948467c6233c7fe1ee8be20b9fdf21da68c42d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 25 Jun 2023 14:53:02 +0200 Subject: xmapping --- src/window/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/window') diff --git a/src/window/window.c b/src/window/window.c index 1a8353c..abeca8e 100644 --- a/src/window/window.c +++ b/src/window/window.c @@ -816,7 +816,7 @@ static void mgl_window_on_receive_event(mgl_window *self, XEvent *xev, mgl_event return; } case MappingNotify: { - XRefreshKeyboardMapping(xev); + XRefreshKeyboardMapping(&xev->xmapping); event->type = MGL_EVENT_UNKNOWN; break; } -- cgit v1.2.3