XClearArea painting None-background windows?

Edgar Toernig froese at gmx.de
Fri Oct 20 10:15:19 PDT 2006


sukru cinar wrote:
>
> v->window= XCreateSimpleWindow(xdpy, parent,x,y ,w,h, 3, 0, None);

The last parameter is the background pixel value - there's no
None for that.  Use XSetWindowBackgroundPixmap(dpy, w, None) to
remove the background.

Ciao, ET.




More information about the xorg mailing list