From ef20c91f935e514330f0292a08ece6c75d9cfff8 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 12 Mar 2011 19:26:03 +0000 Subject: Take advantage of not needing to spin like a mofo thanks to r11986 svn path=/trunk/netsurf/; revision=11987 --- monkey/poll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'monkey/poll.c') diff --git a/monkey/poll.c b/monkey/poll.c index 52da61344..6a840d947 100644 --- a/monkey/poll.c +++ b/monkey/poll.c @@ -140,10 +140,10 @@ gui_poll(bool active) } LOG(("Iterate %sactive %sblocking", active?"":"in", block?"":"non-")); - if (block && !active) { + if (block) { fprintf(stdout, "GENERIC POLL BLOCKING\n"); } - g_main_context_iteration(g_main_context_default(), block && !active); + g_main_context_iteration(g_main_context_default(), block); for (unsigned int i = 0; i != fd_count; i++) { g_main_context_remove_poll(0, fd_list[i]); -- cgit v1.2.3