Re: BadAtom X11 Error with fpGUI
Re: BadAtom X11 Error with fpGUI
- Subject: Re: BadAtom X11 Error with fpGUI
- From: Jeremy Huddleston <email@hidden>
- Date: Fri, 16 Apr 2010 15:42:12 -0700
Are you running your application while X11 is already running (launch X11.app but don't start an xterm), or are you using it to launch X11 (from Terminal.app using the launchd $DISPLAY socket)?
On Apr 16, 2010, at 12:57, Schindler Karl-Michael wrote:
> Hi,
>
> When running pascal programs based on fpGUI, an X11 based interface package, I get an error if the application needs to create the top level (root?) X11 window. but only then. If there is already a toplevel window, for example because xterm runs, then the application open its window and everything behaves as expected.
>
> the problematic call is this:
>
> XGetWMProtocols(FDisplay, AWindow, @Protocols, @Count);
>
> gdb shows these values (if there is an X11 window, the values are exactly the same):
>
> 4: COUNT = 0
> 3: PROTOCOLS = 0x0
> 2: AWINDOW = 6291457
> 1: this->FDISPLAY = 0x803a00
>
> This call produces this X11 error:
>
> X Error of failed request: BadAtom (invalid Atom parameter)
> Major opcode of failed request: 18 (X_ChangeProperty)
> Atom id in failed request: 0x0
> Serial number of failed request: 103
> Current serial number in output stream: 104
>
> System: Mac OS X 10.6.3
>
> X11 version:
> michael% X -version
> X.org Release 7.3
> X.Org X Server 1.4.2-apple53
> Build Date: 20100211
>
> Someone suggested XSync and XInterAtom , but I am fairly clueless, when it comes to X11. So could you give me directions how to resolve this?
>
> Michael _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list (email@hidden)
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden