sway

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

commit 8b21bc6a7905e3386ad62e7b7a3f0936ecbca167
parent 55016729a573a171a0faa20e0dec44e703da2c45
Author: Jason Nader <jason.nader@protonmail.com>
Date:   Sun, 15 Mar 2020 17:11:33 +0900

commands/bind.c: remove unnecessary check

Diffstat:
Msway/commands/bind.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/commands/bind.c b/sway/commands/bind.c @@ -145,7 +145,7 @@ static struct cmd_results *identify_key(const char* name, bool first_key, cmd_results_new(CMD_INVALID, message); free(message); return error; - } else if (!button) { + } else { return cmd_results_new(CMD_INVALID, "Unknown button %s", name); } }