root window

ghee teo Ghee.Teo at Sun.COM
Mon Jul 11 15:28:34 EEST 2005


MANJUNATHA P wrote:

>Hi all,
>I want to draw rectangle on root window (desktop)  using xlib for
>linux platform.In XDrawRectangle() function if i give  root
>window,then it is not drawing rectangle.if anybody knows please let me
>know.
>Thanks in advance
>_______________________________________________
>xdg mailing list
>xdg at lists.freedesktop.org
>http://lists.freedesktop.org/mailman/listinfo/xdg
>  
>
You should look up some tutorial materials from the web, e.g.
http://www.linuxjournal.com/article/4879

This should give you a start. You got to get the concepts of window in 
X/Event loop to work on your program.

-Ghee



More information about the xdg mailing list