mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Reuse the reparenting tracing in XEmbed
This commit is contained in:
@@ -866,8 +866,7 @@ void Editor::do_xembed() const {
|
|||||||
// If we're embedding using XEmbed, then we'll have to go through the whole
|
// If we're embedding using XEmbed, then we'll have to go through the whole
|
||||||
// XEmbed dance here. See the spec for more information on how this works:
|
// XEmbed dance here. See the spec for more information on how this works:
|
||||||
// https://specifications.freedesktop.org/xembed-spec/xembed-spec-latest.html#lifecycle
|
// https://specifications.freedesktop.org/xembed-spec/xembed-spec-latest.html#lifecycle
|
||||||
xcb_reparent_window(x11_connection.get(), wine_window, parent_window, 0, 0);
|
do_reparent();
|
||||||
xcb_flush(x11_connection.get());
|
|
||||||
|
|
||||||
// Let the Wine window know it's being embedded into the parent window
|
// Let the Wine window know it's being embedded into the parent window
|
||||||
send_xembed_message(wine_window, xembed_embedded_notify_msg, 0,
|
send_xembed_message(wine_window, xembed_embedded_notify_msg, 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user