[Bug 39440] embedded (XEMBED) windows are blank

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Oct 18 15:02:54 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=39440

--- Comment #3 from Sebastian Lackner <sebastian at fds-team.de> ---
Your embedder code does not following the XEMBED specification correctly. The
specification says, that the embedder is responsible to map/unmap the client,
depending on the XEMBED_MAPPED property:

--- snip ---
XEMBED_MAPPED
If set the client should be mapped. The embedder must track the flags field by
selecting for PropertyNotify events on the client and map and unmap the client
appropriately. (The embedder can leave the client unmapped when this bit is
set, but should immediately unmap the client upon detecting that the bit has
been unset.)

Rationale: the reason for using this bit rather than MapRequest events is so
that the client can reliably control it's map state before the inception of the
protocol without worry that the client window will become visible as a child of
the root window.
--- snip ---

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list