A bug I encountered about Xembedsniproxy
` xcb_create_window (c, /* connection */
XCB_COPY_FROM_PARENT, /* depth */
m_containerWid, /* window Id */
screen->root, /* parent window */
0, 0, /* x, y */
s_embedSize, s_embedSize, /* width, height */
0, /* border_width */
XCB_WINDOW_CLASS_INPUT_OUTPUT,/* class */
screen->root_visual, /* visual */
mask, values); /* masks */
`
The reason is that the created Container is at (0,0), and when the user moves the mouse here, the event processing of the window is directly triggered, bypassing the filtering of xembedsniproxy. The solution is to set the creation coordinates of the Container to a negative value so that the user's mouse will not be able to access this location.
Edited by wang xl