]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/toplevel.cpp
[this message is for the previous commit as well]
[wxWidgets.git] / src / x11 / toplevel.cpp
index 645a179f70830a7558ac4991e9e42fc94069c2a1..d191faf6f16906a62ef4727ba4910bc604ba8bbd 100644 (file)
@@ -163,7 +163,6 @@ bool wxTopLevelWindowX11::Create(wxWindow *parent,
                   FocusChangeMask |
                   ColormapChangeMask |
                   StructureNotifyMask |
-                  ConfigureNotify |
                   PropertyChangeMask
                   );
     
@@ -607,9 +606,10 @@ void wxTopLevelWindowX11::DoSetSize(int x, int y, int width, int height, int siz
     // wxLogDebug( "Setting pos: %d, %d", x, y );
     wxWindowX11::DoSetSize(x, y, width, height, sizeFlags);
 
+#if 0
     wxPoint pt = GetPosition();
     // wxLogDebug( "After, pos: %d, %d", pt.x, pt.y );
-#if 0
+
     XSync(wxGlobalDisplay(), False);
     int w, h;
     GetSize(& w, & h);