mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-04 01:40:27 -05:00
feat: add back switch_keybaord_layout
This commit is contained in:
parent
f25386cca2
commit
4ee55fc0ba
4 changed files with 89 additions and 1 deletions
|
|
@ -908,6 +908,8 @@ FuncType parse_func_name(char *func_name, Arg *arg, char *arg_value,
|
|||
} else if (strcmp(func_name, "setkeymode") == 0) {
|
||||
func = setkeymode;
|
||||
(*arg).v = strdup(arg_value);
|
||||
} else if (strcmp(func_name, "switch_keyboard_layout") == 0) {
|
||||
func = switch_keyboard_layout;
|
||||
} else if (strcmp(func_name, "setlayout") == 0) {
|
||||
func = setlayout;
|
||||
(*arg).v = strdup(arg_value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue