reconfigure openbox when the input mapping changes, eg. keyboard layout or modifier map
This commit is contained in:
parent
8a51893e8b
commit
5a468756c0
1 changed files with 5 additions and 0 deletions
|
@ -619,6 +619,11 @@ static void event_process(const XEvent *ec, gpointer data)
|
|||
event_handle_root(e);
|
||||
else if (e->type == MapRequest)
|
||||
client_manage(window);
|
||||
else if (e->type == MappingNotify) {
|
||||
/* keyboard layout changes, reconfigure openbox. need to restart the
|
||||
modkeys system, but also to reload the key bindings. */
|
||||
ob_reconfigure();
|
||||
}
|
||||
else if (e->type == ClientMessage) {
|
||||
/* This is for _NET_WM_REQUEST_FRAME_EXTENTS messages. They come for
|
||||
windows that are not managed yet. */
|
||||
|
|
Loading…
Reference in a new issue