On Thu, 31 Jul 2003, Owen Taylor wrote:
>On Thu, 2003-07-31 at 09:29, Andreas Aardal Hanssen wrote:
>> -> To emphasize, B isn't a child window of A (in XEmbed, the
>> "embedder").  B is a window created by a seperate application, which
>> has called XReparentWindow to reparent B into A. So B is the XEmbed
>> "client". B actually fully covers A, so the size difference in my art
>> is just for clarity.
>I assume you mean "B wasn't created as a child window of A". If it
>has been successfully reparented into A, it will then be a child
>window of A.

Yes, that was what I meant. It's certainly a child window but it wasn't
created as one.

>> events directly. If I move the mouse pointer out of the window A
>> again, my focusproxy gets keyboard events again.
>Are you sure that the focusproxy window is getting the events, not
>window A? It sounds very much to me like you simply didn't manage
>to get the focus set to the focusproxy window.

You're right, it's window A that gets the events and not the focus proxy.
:-)

>Note that the focus has to be set to the focusproxy window each
>time that the toplevel gets focused; this requires participating
>in the WM_TAKE_FOCUS protocol as described in the ICCCM.

I'll dig more into this here.

>> So my question is this: Is the XEmbed protocol broken, is my X11
>> server broken, or is my code broken, and in which way.
>Definitely your code is broken; the setup in XEMBED works fine for
>GTK+, for KDE, on a wide ranger of different X servers.

Thanks :-)

Andy

-- 
Andreas Aardal Hanssen

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to