Re: Why does this small program cause an X11 BadMatch?
- From: Rich Burridge <Rich Burridge Sun COM>
- To: hp redhat com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Why does this small program cause an X11 BadMatch?
- Date: Sat, 02 Mar 2002 15:12:10 -0800 (PST)
One possibility is that the GdkGC was created for a different depth.
You need a depth 1 GC.
I think that's exactly it. Umm, how to I do that? Do I have to (somehow)
create a window of depth 1 that I never map to the screen, and use that as
the first parameter in the gdk_gc_new*() call, or can I somehow get a
GdkWindow* handle from the GdkPixmap* of depth 1 that I've created, and
use that? The XView code did the equivalent of the latter.
] [Thread Prev