Is there a way to detect that Xembed is supported on server?
Oleg Sukhodolsky
son.two at gmail.com
Wed Apr 25 02:39:21 PDT 2007
Hi,
the spec says that client window must _XEMBED_INFO property, and so
server can detect if reparented window supports Xembed and starts the
protocol.
However, there is no requirements for server's window to have similar property.
I have the following situation: I have a client which should work with
different versions of embedder. Newer version of the server supports
Xembed, older doesn't. In ideal world I'd do something like: reparent
client window to servers, if Xembed started/supported, I will use it,
if it is not then I will map the client window and manage focus by
calling XSetInputFocus().
The only question is how to detect that Xembed is supported by server,
or when I can say for sure that it is not supported?
Thanks in advance, Oleg.
More information about the xdg
mailing list