aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-06-25 14:53:02 +0200
committerdec05eba <dec05eba@protonmail.com>2023-06-25 14:53:02 +0200
commitae948467c6233c7fe1ee8be20b9fdf21da68c42d (patch)
treef181560e511911fa1501ba7242be2210d37c4e6d /src
parentfa6965df07c26abb74db6a2fe98b46d7313fea13 (diff)
xmapping
Diffstat (limited to 'src')
-rw-r--r--src/window/window.c2
1 files changed, 1 insertions, 1 deletions
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;
}