aboutsummaryrefslogtreecommitdiff
path: root/src/window
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-06-25 14:51:19 +0200
committerdec05eba <dec05eba@protonmail.com>2023-06-25 14:51:19 +0200
commitfa6965df07c26abb74db6a2fe98b46d7313fea13 (patch)
tree87d6142fc1c337343a0066c7b0c9ea6f054e0463 /src/window
parentaca31b014e7db0cddfaa3fceb2b4a98a1ad3380c (diff)
XRefreshKeyboardMapping
Diffstat (limited to 'src/window')
-rw-r--r--src/window/window.c5
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;