(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.

This commit is contained in:
rubidium
2007-07-07 17:33:29 +00:00
parent e8bbfb4a70
commit 6a5d9e28c1

View File

@@ -652,8 +652,8 @@ static Window *LocalAllocateWindow(
_last_z_window++;
}
SetWindowDirty(w);
CallWindowEventNP(w, WE_CREATE);
SetWindowDirty(w);
return w;
}