sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 7672886cb5927977617d274ebaec4a3840df0a5d
parent 0d51f62224a3c2e65894f1725076a588b172447c
Author: taiyu <taiyu.len@gmail.com>
Date:   Fri, 18 Sep 2015 08:33:28 -0700

dont log empty config lines

Diffstat:
Msway/commands.c | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/sway/commands.c b/sway/commands.c @@ -1182,13 +1182,12 @@ enum cmd_status handle_command(char *_exec) { } enum cmd_status config_command(char *exec) { - sway_log(L_INFO, "handling config command '%s'", exec); enum cmd_status status = CMD_SUCCESS; int argc; char **argv = split_args(exec, &argc); - if (!argc) { - goto cleanup; - } + if (!argc) goto cleanup; + + sway_log(L_INFO, "handling config command '%s'", exec); // Endblock if (**argv == '}') { status = CMD_BLOCK_END;