From 0f4ad2c7f99ddf7945fc670d9d48eae2257a3386 Mon Sep 17 00:00:00 2001 From: mike_m Date: Thu, 7 Jul 2011 11:37:02 +0000 Subject: [PATCH] ecore: Make sure signals break from the main loop git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61111 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore/ecore_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c index fe9cf8c..bd85725 100644 --- a/src/lib/ecore/ecore_main.c +++ b/src/lib/ecore/ecore_main.c @@ -600,6 +600,10 @@ _ecore_main_gsource_check(GSource *source __UNUSED__) ecore_fds_ready = (_ecore_main_fdh_glib_mark_active() > 0); _ecore_main_fd_handlers_cleanup(); + /* ^C perhaps? */ + if (!ret && _ecore_signal_count_get() > 0) + ret = TRUE; + /* check timers after updating loop time */ _ecore_time_loop_time = ecore_time_get(); if (!ret && _ecore_timers_exists()) -- 2.7.4