diff options
author | Andreas Luik <luik@orthogon.com> | 2007-04-08 00:43:56 +0300 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2007-04-08 00:43:56 +0300 |
commit | 845e51c740574db2f72a5e7c5462d8f56a3c4e22 (patch) | |
tree | 206dd06cd6b824f144cc65eb0b52787eb7ac67f8 /src | |
parent | 007d9e5f8b2edc3ff8ce8b2f96b8f56a417bb78d (diff) |
Recalculate fd_set more aggressively (bug #808)
select() can modify the fd set, so be a bit pessimistic and recalculate
it more often.
Diffstat (limited to 'src')
-rw-r--r-- | src/NextEvent.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |