mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-19 19:25:41 +02:00
module/xkb: log initial state
This commit is contained in:
parent
502c2bd746
commit
174b1f05e0
1 changed files with 7 additions and 0 deletions
|
@ -590,6 +590,13 @@ talk_to_xkb(struct module *mod, xcb_connection_t *conn)
|
|||
LOG_DBG("%s: %s", name, enabled ? "enabled" : "disabled");
|
||||
}
|
||||
|
||||
LOG_INFO("layout: %s (%s), caps-lock:%s, num-lock:%s, scroll-lock:%s",
|
||||
layouts.layouts[m->current].name,
|
||||
layouts.layouts[m->current].symbol,
|
||||
caps_lock ? "on" : "off",
|
||||
num_lock ? "on" : "off",
|
||||
scroll_lock ? "on" : "off");
|
||||
|
||||
mtx_lock(&mod->lock);
|
||||
m->layouts = layouts;
|
||||
m->current = current;
|
||||
|
|
Loading…
Add table
Reference in a new issue