"Ian King" <[EMAIL PROTECTED]> writes:
> Hi all,
> 
> I have been trying to write a simple program that shows a red
> rectangle on the screen on top of all other windows.  Everything
> works except for the setting of the red color, I have created a
> color struct with the Red value set to full intensity but the color
> shown on screen is white.  Can anyone please tell me where I am
> going wrong, is there something I have omitted?

You have to allocate your color. See the Xlib book by Nye or GDK
chapter in my book (developer.gnome.org/doc/GGAD/)

Havoc

-- 
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to