From 845e51c740574db2f72a5e7c5462d8f56a3c4e22 Mon Sep 17 00:00:00 2001 From: Andreas Luik Date: Sun, 8 Apr 2007 00:43:56 +0300 Subject: Recalculate fd_set more aggressively (bug #808) select() can modify the fd set, so be a bit pessimistic and recalculate it more often. --- src/NextEvent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/NextEvent.c b/src/NextEvent.c index 64be878..bcc00d5 100644 --- a/src/NextEvent.c +++ b/src/NextEvent.c @@ -581,10 +581,10 @@ int _XtWaitForSomething( wf.stack = fdlist; #endif +WaitLoop: app->rebuild_fdlist = TRUE; while (1) { -WaitLoop: AdjustTimes (app, block, howlong, ignoreTimers, &wt); if (block && app->block_hook_list) { -- cgit v1.2.3