sway

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

commit 979878d8afa44beef7bb32641cba281390ce513b
parent cb0ca3c301c6e35df4d67808ae850219630949db
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun,  4 Dec 2016 10:55:11 -0500

Decrement expected_len

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

diff --git a/sway/main.c b/sway/main.c @@ -178,7 +178,7 @@ static void security_sanity_check() { { "reject", CONTEXT_CONFIG, false }, { "ipc", CONTEXT_CONFIG, false }, }; - int expected_len = 5; + int expected_len = 4; for (int i = 0; i < config->command_policies->length; ++i) { struct command_policy *policy = config->command_policies->items[i]; for (int j = 0; j < expected_len; ++j) {