Commit 38711760 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB window: handle change of keymaps

parent 3629d607
......@@ -209,7 +209,14 @@ int ProcessKeyEvent (key_handler_t *ctx, xcb_generic_event_t *ev)
case XCB_KEY_RELEASE:
break;
/*TODO: key mappings update*/
case XCB_MAPPING_NOTIFY:
{
xcb_mapping_notify_event_t *e = (xcb_mapping_notify_event_t *)ev;
msg_Dbg (ctx->obj, "refreshing keyboard mapping");
xcb_refresh_keyboard_mapping (ctx->syms, e);
break;
}
default:
return -1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment