Re-posting my question from the Qt forums: https://forum.qt.io/topic/60771/qx11embedcontainer-clientclosed-in-qt5
I have been working on a X11 system tray (current code here <https://github.com/spillerrec/QtDock/blob/master/src/TrayWidget.cpp>) which uses the XEmbed protocol to embed tray application into the system tray. I have used QWindow::fromWinId() as noted here <http://wiki.qt.io/New_Features_in_Qt_5.1> as the Qt5 replacement for QX11EmbedContainer, but I'm now at a bit of a loss on how to detect when the client application disconnects from the embedding. (Which causes my system tray to fill up with empty widgets.) QX11EmbedContainer had a signal clientClosed() which appears to be what I need, but I couldn't find any way to do this with QWindow. Any suggestions on what to do here? Sebastian Wahl
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest