From d815e29b645dbbfcaac8c770bd21ddf9a90d2737 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Fri, 29 Mar 2019 23:28:43 +0100 Subject: [PATCH] Do not exit if no outputs are present --- main.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/main.c b/main.c index b80fdbb..7048276 100644 --- a/main.c +++ b/main.c @@ -1108,12 +1108,6 @@ int main(int argc, char **argv) { return 1; } - if (wl_list_empty(&state.surfaces)) { - free(state.args.font); - swaylock_log(LOG_ERROR, "Exiting - no outputs to show on."); - return 0; - } - zwlr_input_inhibit_manager_v1_get_inhibitor(state.input_inhibit_manager); if (wl_display_roundtrip(state.display) == -1) { free(state.args.font);