summaryrefslogtreecommitdiff
path: root/src/corelib/x11
diff options
context:
space:
mode:
authordrewski207 <drewski207@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-07-25 11:02:08 +0000
committerdrewski207 <drewski207@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-07-25 11:02:08 +0000
commitfca7347de9404de1f2940d58dae9bdda6ed52caf (patch)
treef6840bcb588fad8f56f4ea42c5faadeac081be8f /src/corelib/x11
parent7c58e9f2f93efb2afbd3855c3ce8cc8492006433 (diff)
downloadfpGUI-fca7347de9404de1f2940d58dae9bdda6ed52caf.tar.xz
* fixed timers if the next timer should execute now
Diffstat (limited to 'src/corelib/x11')
-rw-r--r--src/corelib/x11/gfx_x11.pas2
1 files changed, 1 insertions, 1 deletions
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