Hello Xorg Mailing List,
Lately I've been trying to create a window with XWindowCreate() using
depth, class, and visual from a visual I obtain using XGetVisualInfo() (of
course I parse the XVisualInfo[] for a single XVisualInfo). When X creates
the window, I get the following error:
X Error o
In fact, that was one problem, but now I am getting a Bad Match "Invalid
Parameters" error. Same code with dc.vinfo->class changed to
InputOutput/CopyFromParent. Any suggestions for that?
On Mon, Apr 23, 2012 at 2:44 PM, Julien Cristau wrote:
> On Sun, Apr 22, 2012 at 11:01:21 -
Hey,
I'm trying to darken/lighten the image data in a Drawable/XdbeBackBuffer.
Any ideas on how to get access to the data?...I've done an XGetImage() on
Drawable but that really slows down the application I'm editing...
Thanks,
Lee
___
xorg@lists.x.org:
, bh, 0,
0);
}
int ftime =
1;
void
drawbar(Monitor *m)
{
int
x;
unsigned int i, occ = 0, urg =
0;
XftColor
*col;
Client
*c;
if(ftime == 1)
{
ftime =
0;
XTintBG(m, 0, 0, m->ww,
bh);
}
XCopyArea(dpy, dc.bg, dc.drawable, dc.gc, 0, 0, m->ww, bh, 0, 0);
}