[dundee] X11 Programming in C

Robert Ladyman it at file-away.co.uk
Fri Mar 25 09:12:18 UTC 2011


> Hey guys,
> 
> 
> this is somewhat complicated (and very much above my paygrade) but out of
> interest im trying out some X11 programming in C.
> 
> I've managed to attach to the running X11 Display, and am able to probe it
> for information using the following code:
> 
> 
> 
> #include<X11/Xlib.h>
> #include<X11/Xutil.h>
> #include<stdio.h>
> 

Nick,

Have a look at the source-code for root-tail, here:

http://oldhome.schmorp.de/marc/root-tail.html

root-tail.c is the code to look at, particularly the refresh() function.

-- 
Robert Ladyman
File-Away Limited
3 Ralston Business Centre, Newtyle, Blairgowrie
Perthshire  PH12 8TL SCOTLAND
Tel: +44 (0) 1828 898 158
Mobile: +44 (0) 7732 771 649
http://www.file-away.co.uk

============================================
Registered Office: 32 Church Street, Newtyle, Blairgowrie
Perthshire, PH12 8TZ SCOTLAND
Registered in Scotland, Company Number SC222086




More information about the dundee mailing list