I changed the code such that NPN_SetValue is called from the plugin indicating that it is windowless.
Now I get a GraphicsExpose XEvent. I can draw a colored rectangle given the provided Display, but I can't make it transparent. A sample of my code:
Display *disp = This->window->window;
Drawable drawable = (Drawable)This->window->ws_info;
if (!disp || ! drawable)
return NPERR_GENERIC_ERROR;
GC gc = DefaultGC(disp, DefaultScreen(disp));
Can anyone give me an example of how to make a transparent background/rectangle?
On Monday, April 22, 2013 4:09:12 PM UTC+2,
thec...@gmail.com wrote:
> On Monday, April 22, 2013 3:58:28 PM UTC+2, Benjamin Smedberg wrote:
>