From 60c84bd7cdb07cd46b294ff4e03034a151fe109f Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Fri, 25 Dec 2015 18:12:32 +0000 Subject: [PATCH] destroy the container window we create --- xembed-sni-proxy/sniproxy.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xembed-sni-proxy/sniproxy.cpp b/xembed-sni-proxy/sniproxy.cpp index ae6eab72e..847fc795a 100644 --- a/xembed-sni-proxy/sniproxy.cpp +++ b/xembed-sni-proxy/sniproxy.cpp @@ -185,6 +185,9 @@ SNIProxy::SNIProxy(xcb_window_t wid, QObject* parent): SNIProxy::~SNIProxy() { + auto c = QX11Info::connection(); + + xcb_destroy_window(c, m_containerWid); QDBusConnection::disconnectFromBus(m_dbus.name()); }