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

From: Braimah, AL (Adam) a.l.braimah at dl.ac.uk
Date: Fri Dec 8 15:12:43 EET 2006
I hadn't even heard of Matchbox until you mentioned it; I ran it within
Scratchbox ("/usr/bin/matchbox-window-manager &") and then tried my
program but the same error occurred. Did I miss something? I should
mention that I'm using Xephyr as my display too.

-----Original Message-----
From: Johan Bilien [mailto:jobi at via.ecp.fr] 
Sent: 08 December 2006 12:26
To: Braimah, AL (Adam)
Cc: maemo-developers at maemo.org
Subject: Re: [maemo-developers] BadWindow error when calling

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
> 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

I filled #904


More information about the maemo-developers mailing list