diff options
| author | Kenny Levinsen <w@kl.wtf> | 2019-03-29 23:28:43 +0100 |
|---|---|---|
| committer | emersion <contact@emersion.fr> | 2019-03-30 00:37:59 +0200 |
| commit | d815e29b645dbbfcaac8c770bd21ddf9a90d2737 (patch) | |
| tree | 9387faa6363233b034855aad0565c45fcf397409 /main.c | |
| parent | 7d5a73b0a99ca9b4c73a34faceda8bef2576fe23 (diff) | |
Do not exit if no outputs are present
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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); |
