From aa258985e91416456b55de8b60620cc1554ffb6e Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Tue, 3 May 2016 01:34:23 -0700 Subject: [PATCH] x11: Fix incorrect output counting logic Signed-off-by: Bryce Harrington --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index aeb2ac5e..2a56555c 100644 --- a/src/main.c +++ b/src/main.c @@ -911,7 +911,7 @@ load_x11_backend(struct weston_compositor *c, char const * backend, } output_count++; - if (option_count && output_count >= option_count) + if (output_count >= option_count) break; }