error when opening a top level X11 window
error when opening a top level X11 window
- Subject: error when opening a top level X11 window
- From: Karl-Michael Schindler <email@hidden>
- Date: Thu, 8 Apr 2010 20:09:40 +0200 (CEST)
- Importance: normal
- Sensitivity: Normal
Hi,
When running pascal programs based on fpGUI, an X11 based interface package, I get an error if the application creates the top level 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:
4: COUNT = 0
3: PROTOCOLS = 0x0
2: AWINDOW = 6291457
1: this->FDISPLAY = 0x803a00
it 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
any hints how to resolve this?
Michael
___________________________________________________________
NEU: WEB.DE DSL für 19,99 EUR/mtl. und ohne Mindest-Laufzeit!
http://produkte.web.de/go/02/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden