]> git.saurik.com Git - wxWidgets.git/commitdiff
Added XSync before mapping but this doesn't seem enough to get
authorJulian Smart <julian@anthemion.co.uk>
Tue, 12 Feb 2002 18:27:43 +0000 (18:27 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 12 Feb 2002 18:27:43 +0000 (18:27 +0000)
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

index 486f63816cfaea93f6b1aca3d596f2663ac92706..72833485e92756151600e69b868d5134a9fe6c25 100644 (file)
@@ -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
     {