From 5b90b91ce35fc79947a928393e789ccb6e728848 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 7 Jul 2007 17:33:29 +0000 Subject: [PATCH] (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. --- src/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.cpp b/src/window.cpp index f15061c921..325242b3a1 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -652,8 +652,8 @@ static Window *LocalAllocateWindow( _last_z_window++; } - SetWindowDirty(w); CallWindowEventNP(w, WE_CREATE); + SetWindowDirty(w); return w; }