From c8ac2199cf4b1da7778df98c58d9f2ad15c99135 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Wed, 16 Mar 2016 01:31:39 +0000 Subject: [PATCH] resize xembedsniproxy windows with a config notify and an actual resize 1a13806d74973137960e64aa347965525a7c626a changed from configure to config_notify which fixed some applications, however also broke other applications such as radiotray and pidgin not appearing. This patch sends both types of resize, so that one should work. --- xembed-sni-proxy/sniproxy.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xembed-sni-proxy/sniproxy.cpp b/xembed-sni-proxy/sniproxy.cpp index 662c52195..30f37d4e2 100644 --- a/xembed-sni-proxy/sniproxy.cpp +++ b/xembed-sni-proxy/sniproxy.cpp @@ -180,6 +180,11 @@ SNIProxy::SNIProxy(xcb_window_t wid, QObject* parent): event.height = s_embedSize; xcb_send_event(c, false, wid, XCB_EVENT_MASK_STRUCTURE_NOTIFY, (char *) &event); + const uint32_t windowMoveConfigVals[2] = { s_embedSize, s_embedSize }; + xcb_configure_window(c, wid, + XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT, + windowMoveConfigVals); + clientWindowSize = QSize(s_embedSize, s_embedSize); }