mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix: fix xembed tray flew out
xcb create window must map to xembedtray widget, otherwise the window will fly out log: fix xembed tray fly out
This commit is contained in:
parent
c89b3cce44
commit
59f462ff09
@ -251,13 +251,12 @@ void XEmbedTrayItemWidget::wrapWindow()
|
|||||||
|
|
||||||
xcb_flush(c);
|
xcb_flush(c);
|
||||||
|
|
||||||
if (isVisible()) {
|
|
||||||
xcb_map_window(c, m_containerWid);
|
|
||||||
|
|
||||||
xcb_reparent_window(c, m_windowId,
|
xcb_map_window(c, m_containerWid);
|
||||||
m_containerWid,
|
|
||||||
0, 0);
|
xcb_reparent_window(c, m_windowId,
|
||||||
}
|
m_containerWid,
|
||||||
|
0, 0);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Render the embedded window offscreen
|
* Render the embedded window offscreen
|
||||||
|
Loading…
x
Reference in New Issue
Block a user