From b76ff9fe5b82e6ffae7fd9a512a303df197d893f Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Mon, 25 Feb 2019 00:29:05 +0000 Subject: [PATCH] Add a TODO comment Signed-off-by: Yuxuan Shui --- src/compton.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compton.c b/src/compton.c index 0534eb5..cc978c2 100644 --- a/src/compton.c +++ b/src/compton.c @@ -851,6 +851,8 @@ void configure_root(session_t *ps, int width, int height) { if (!ps->backend_data) { log_fatal("Failed to re-initialize backend after root change, aborting..."); ps->quit = true; + // TODO only event handlers should request ev_break, otherwise it's too hard to + // keep track of what can break the event loop ev_break(ps->loop, EVBREAK_ALL); return; }