From a3215b22a39f6a9939f7ad02f7121c00037b765b Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 12 Feb 2002 18:27:43 +0000 Subject: [PATCH 1/1] Added XSync before mapping but this doesn't seem enough to get the popup window to show before the capture (which fails if not mapped) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/x11/window.cpp b/src/x11/window.cpp index 486f63816c..72833485e9 100644 --- a/src/x11/window.cpp +++ b/src/x11/window.cpp @@ -269,6 +269,7 @@ bool wxWindowX11::Show(bool show) msg.Printf("Mapping window of type %s", GetClassInfo()->GetClassName()); wxLogDebug(msg); XMapWindow(xdisp, xwin); + XSync(xdisp, False); } else { -- 2.45.2