diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-06-25 14:51:19 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-06-25 14:51:19 +0200 |
commit | fa6965df07c26abb74db6a2fe98b46d7313fea13 (patch) | |
tree | 87d6142fc1c337343a0066c7b0c9ea6f054e0463 | |
parent | aca31b014e7db0cddfaa3fceb2b4a98a1ad3380c (diff) |
XRefreshKeyboardMapping
-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; |