(svn r10465) -Fix: first run the WE_CREATE callback and then perform the dirtying of the window, so you won't get glitches if you resize a window in the WE_CREATE callback.
--- a/src/window.cpp Sat Jul 07 16:44:10 2007 +0000
+++ b/src/window.cpp Sat Jul 07 17:33:29 2007 +0000
@@ -652,8 +652,8 @@
_last_z_window++;
}
+ CallWindowEventNP(w, WE_CREATE);
SetWindowDirty(w);
- CallWindowEventNP(w, WE_CREATE);
return w;
}