resize xembedsniproxy windows with a config notify and an actual resize

1a13806d74 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.
wilder-5.14
David Edmundson 10 years ago
parent 60a62124c4
commit c8ac2199cf
  1. 5
      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);
}

Loading…
Cancel
Save