On Tue, Jun 17, 2025 at 11:17:39AM +0200, Jan Stary wrote: > Dear all, > > the day has come when I need to do some elementary programming > (open a window and draw pixels into it). I started with chapter 27 > from Stevens: Advanced UNIX Programming, being my favourite author, > but the examples seem to be a bit outdated, at least the manpages > of the X functions describe a slightly different interface. > At any rate, the example below does not open a window. > > I am looking at > https://www.x.org/releases/current/doc/libX11/libX11/libX11.html > next, but do people have a favourite X programming intro?
I found that http://incise.org/tinywm.html covers some basics, especially the annotated version. Lucas