From 959c7589ac08e9d61e2037a5780605e22ebfa408 Mon Sep 17 00:00:00 2001 From: cos Date: Wed, 8 Nov 2023 18:05:27 +0100 Subject: fixup! Fix unintentional exit on suspend --- mcwm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mcwm.c b/mcwm.c index 771c997..4921c1e 100644 --- a/mcwm.c +++ b/mcwm.c @@ -3638,6 +3638,9 @@ void events(void) if (sigcode != 0) { /* We received a signal. Break out of loop. */ break; + } else { + /* Nothing found. Retry from start of loop. */ + continue; } } else -- cgit v1.2.3