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.
Thanks,
Adam-----Original Message----- From: Johan Bilien [mailto:[EMAIL PROTECTED] Sent: 08 December 2006 12:26 To: Braimah, AL (Adam) Cc: [email protected] Subject: Re: [maemo-developers] BadWindow error when calling hildon_program_add_window? 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 Thanks, Johan. _______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
