aboutsummaryrefslogtreecommitdiff
path: root/src/window
diff options
context:
space:
mode:
Diffstat (limited to 'src/window')
-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;
}