From 67bd22c154ccc6d32ebc0d9adcb16b4ebb33e452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Sun, 7 Nov 2021 14:45:56 +0100 Subject: poller-pa.c: abandon the idea of quitting the loop There are no users of this API in practice, and it prevents making the libpulse dependency optional. --- wmstatus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wmstatus.c') diff --git a/wmstatus.c b/wmstatus.c index e8d26e1..de7d63d 100644 --- a/wmstatus.c +++ b/wmstatus.c @@ -2745,7 +2745,8 @@ main (int argc, char *argv[]) if (ctx.backend->start) ctx.backend->start (ctx.backend); - poller_pa_run (ctx.api); + while (true) + poller_run (&ctx.poller); if (ctx.backend->stop) ctx.backend->stop (ctx.backend); -- cgit v1.2.3