In the development branch are new X11 interfaces commited. Please report any bugs with them to peter at freepascal.org so i can fix the problems. The headers are only tested to compile, not with linking/running yet. Also some extensions 4.0.2 are available XShm and Xrender Peter