(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 282bb875af
commit 5b90b91ce3
1 changed files with 1 additions and 1 deletions

View File

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