Take advantage of not needing to spin like a mofo thanks to r11986

svn path=/trunk/netsurf/; revision=11987
This commit is contained in:
Daniel Silverstone 2011-03-12 19:26:03 +00:00
parent d558aae0bb
commit ef20c91f93
1 changed files with 2 additions and 2 deletions

View File

@ -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]);