From fca7347de9404de1f2940d58dae9bdda6ed52caf Mon Sep 17 00:00:00 2001 From: drewski207 Date: Wed, 25 Jul 2007 11:02:08 +0000 Subject: * fixed timers if the next timer should execute now --- src/corelib/x11/gfx_x11.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/x11/gfx_x11.pas') diff --git a/src/corelib/x11/gfx_x11.pas b/src/corelib/x11/gfx_x11.pas index a010c298..1935ff57 100644 --- a/src/corelib/x11/gfx_x11.pas +++ b/src/corelib/x11/gfx_x11.pas @@ -619,7 +619,7 @@ begin xfd := XConnectionNumber(display); repeat - if (atimeoutms > 0) and (XPending(display) <= 0) then + if (atimeoutms >= 0) and (XPending(display) <= 0) then begin // waiting some event for the given timeout -- cgit v1.2.3-70-g09d2