]> Dogcows Code - chaz/openbox/blobdiff - obt/mainloop.c
have obt refresh the xlib keyboard stuff on mappingnotify events
[chaz/openbox] / obt / mainloop.c
index bf866aec5e250deda309cecd2bd8b371a763e583..ebc9e96a8260a4a0be3f49fb033d29da3ab5b2be 100644 (file)
@@ -300,6 +300,9 @@ void obt_main_loop_run(ObtMainLoop *loop)
             do {
                 XNextEvent(loop->display, &e);
 
+                if (e.type == MappingNotify)
+                    XRefreshKeyboardMapping(&e.xmapping);
+
                 for (it = loop->x_handlers; it; it = g_slist_next(it)) {
                     ObtMainLoopXHandlerType *h = it->data;
                     h->func(&e, h->data);
This page took 0.020718 seconds and 4 git commands to generate.