sway

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

commit 504ac84cbcd52d3052b980f576a1bceed3ebc69c
parent 78c2e293282d20a2627f68a5b2921b2066ade2a3
Author: Christoph Gysin <christoph.gysin@gmail.com>
Date:   Wed, 25 Nov 2015 16:53:18 +0200

swaybg: check for exact number of arguments

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

diff --git a/swaybg/main.c b/swaybg/main.c @@ -28,7 +28,7 @@ int main(int argc, const char **argv) { surfaces = create_list(); registry = registry_poll(); - if (argc < 4) { + if (argc != 4) { sway_abort("Do not run this program manually. See man 5 sway and look for output options."); }