mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-12 13:30:01 -05:00
fix: mon dir arg miss parse
This commit is contained in:
parent
140fb69fc6
commit
5d6e9bd4e6
1 changed files with 2 additions and 2 deletions
|
|
@ -362,10 +362,10 @@ FuncType parse_func_name(char *func_name, Arg *arg, char *arg_value) {
|
||||||
func = toggle_scratchpad;
|
func = toggle_scratchpad;
|
||||||
} else if (strcmp(func_name, "focusmon") == 0) {
|
} else if (strcmp(func_name, "focusmon") == 0) {
|
||||||
func = focusmon;
|
func = focusmon;
|
||||||
(*arg).i = atoi(arg_value);
|
(*arg).i = parse_direction(arg_value);
|
||||||
} else if (strcmp(func_name, "tagmon") == 0) {
|
} else if (strcmp(func_name, "tagmon") == 0) {
|
||||||
func = tagmon;
|
func = tagmon;
|
||||||
(*arg).i = atoi(arg_value);
|
(*arg).i = parse_direction(arg_value);
|
||||||
} else if (strcmp(func_name, "incgaps") == 0) {
|
} else if (strcmp(func_name, "incgaps") == 0) {
|
||||||
func = incgaps;
|
func = incgaps;
|
||||||
(*arg).i = atoi(arg_value);
|
(*arg).i = atoi(arg_value);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue