mirror of
https://github.com/labwc/labwc.git
synced 2026-02-17 22:05:30 -05:00
src/keybind.c: move keybind_print() to dbg.c
This commit is contained in:
parent
7440919452
commit
f6578248c0
6 changed files with 14 additions and 16 deletions
|
|
@ -60,13 +60,3 @@ void keybind_init()
|
|||
keybind_add(&rc.keybinds, "A-Tab", "NextWindow");
|
||||
keybind_add(&rc.keybinds, "A-F3", "Execute");
|
||||
}
|
||||
|
||||
void keybind_print()
|
||||
{
|
||||
struct keybind *keybind;
|
||||
wl_list_for_each_reverse (keybind, &rc.keybinds, link) {
|
||||
printf("KEY=%s-", keybind->action);
|
||||
for (size_t i = 0; i < keybind->keysyms_len; i++)
|
||||
printf(" %d\n", keybind->keysyms[i]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue