[maemo-developers] [maemo-developers] BadWindow error when calling hildon_program_add_window?

From: Johan Bilien jobi at via.ecp.fr
Date: Fri Dec 8 14:25:30 EET 2006
On Fri, Dec 08, 2006, Braimah, AL (Adam) wrote:
> I'm just starting off coding with Maemo (Scirocco, on Debian) and am
> running into an X error straight away; hopefully a more experienced
> person can spot if there's an obvious mistake here!
> The code is a basic "Hello, world" as shown at the foot of this message.
> However, trying to run it causes an X error;
> 'BadWindow,' (serial 68 error_code 3 request_code 20 minor_code 0)
> The line which appears to cause the problem is a call to
> hildon_program_add_window(). I've compiled one of the included example
> programs (which it turns out only uses direct GTK calls) with the same
> includes and libraries and that runs fine, and I can also bring up the
> emulated 770 desktop so I'm really at a loss!

Can you try running the matchbox window manager before starting the program?

I filled #904


More information about the maemo-developers mailing list