RE: Help please:X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 1 (X_CreateWindow) Resource id in failed request: 0x0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Ken Lee <nospam@spam.no> napísal v
správe:Xns92A25B73C97E3fubar123@66.237.72.10...
> "peter Fodrek" <fodrek@kasr.elf.stuba.sk> wrote in
> news:ao1emu$oei$1@ns.felk.cvut.cz:
> > X Error of failed request:  BadWindow (invalid Window parameter)
> >   Major opcode of failed request:  1 (X_CreateWindow)
> >   Resource id in failed request:  0x0
>
> My web site has a copy of my tutorial on debugging these kinds of error
> messages.  0x0 indicates a bug in your program.
>
> Ken Lee, http://www.rahul.net/kenton/

Thank you
problem was that before

XtRealizeWidget(hlavne);
in
initrezacia() and initplan()
i was called


myplan=XtCreateManagedWidget(hlavne,.......)
XtRealizeWidget(myplan);

So I was realize child of ApplictaionShell widget class instance as
invisble...  This was described as normal state in X windows programming
anywhere I read it, but it is not true...


Thank you again...

Yours faithfully

Peter



[Index of Archives]     [XFree86]     [Xfree86 Xpert]     [X.org]     [IETF Annouce]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Picture Sharing]     [Linux Security]     [Linux RAID]

  Powered by Linux