[Customdrawn] Some patches
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Fri Mar 30 14:06:25 CEST 2012
Hello,
Some more patch comments:
1> TCDX11Timer should be added in customdrawn_x11proc.pas we should
keep as few as possible stuff in customdrawnint.pas
2> Could you explain these 2 changes?
- XFlush(FDisplay);
+ //XFlush(FDisplay);
if XPending(FDisplay) > 0 then Exit; // We have a X message to process
@@ -562,9 +713,25 @@
for i := 0 to XConnections.Count-1 do
fpFD_SET(cint(PtrInt(XConnections.Items[i])), rfds);
- selectresult := fpSelect(xconnnum + 1, @rfds, nil, nil, lTimeoutInterval);
+ selectresult := fpSelect(fpFD_SETSIZE, @rfds, nil, nil, lTimeoutInterval);
thanks,
--
Felipe Monteiro de Carvalho
More information about the Customdrawn
mailing list