aboutsummaryrefslogtreecommitdiff
path: root/wmstatus.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-07 14:45:56 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-07 14:45:56 +0100
commit67bd22c154ccc6d32ebc0d9adcb16b4ebb33e452 (patch)
tree663b71521e8ecffde59306c5ff4f638884d19502 /wmstatus.c
parent931ae4f82f5e1f5e6405f2a44018c36a1489f930 (diff)
downloaddesktop-tools-67bd22c154ccc6d32ebc0d9adcb16b4ebb33e452.tar.gz
desktop-tools-67bd22c154ccc6d32ebc0d9adcb16b4ebb33e452.tar.xz
desktop-tools-67bd22c154ccc6d32ebc0d9adcb16b4ebb33e452.zip
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.
Diffstat (limited to 'wmstatus.c')
-rw-r--r--wmstatus.c3
1 files changed, 2 insertions, 1 deletions
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);