NaXembed socket window is leaked after ShellTrayIcon destruction
When a ShellTrayIcon
is destroyed, its NaXembed
leaves the socket window behind. This socket window can still prevent clicks in areas affected by #7613, but this time it won't perform the action associated with the tray icon which is now gone. It is only blocking the clicks from other windows.
I have not fully investigated this yet, but at least there is a missing XDestroyWindow (xdisplay, priv->socket_window)
somewhere in the destruction of NaXembed
, but there might also be some additional refcounting issues.
CC: @3v1n0, this is another potential source of issues reported against the AppIndicator extension