#6487 Changed timeout multiplier
We belive that there was a bug in the polling function that caused it to return straight away instead of actually waiting for the timeout.
This commit is contained in:
parent
26f4b4da46
commit
a324957e2d
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ XWindowsEventQueueBuffer::waitForEvent(double dtimeout)
|
||||||
pfds[1].fd = m_pipefd[0];
|
pfds[1].fd = m_pipefd[0];
|
||||||
pfds[1].events = POLLIN;
|
pfds[1].events = POLLIN;
|
||||||
int timeout = (dtimeout < 0.0) ? -1 :
|
int timeout = (dtimeout < 0.0) ? -1 :
|
||||||
static_cast<int>(1000.0 * dtimeout);
|
static_cast<int>(dtimeout);
|
||||||
int remaining = timeout;
|
int remaining = timeout;
|
||||||
int retval = 0;
|
int retval = 0;
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue