diff options
Diffstat (limited to 'src/window')
-rw-r--r-- | src/window/window.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window/window.c b/src/window/window.c index 101fb42..1a8353c 100644 --- a/src/window/window.c +++ b/src/window/window.c @@ -815,6 +815,11 @@ static void mgl_window_on_receive_event(mgl_window *self, XEvent *xev, mgl_event event->type = MGL_EVENT_UNKNOWN; return; } + case MappingNotify: { + XRefreshKeyboardMapping(xev); + event->type = MGL_EVENT_UNKNOWN; + break; + } default: { event->type = MGL_EVENT_UNKNOWN; return; |