From 6a5d9e28c12c47f13336b0964a618d8006c75854 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 7 Jul 2007 17:33:29 +0000 Subject: (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(-) (limited to 'src') diff --git a/src/window.cpp b/src/window.cpp index f15061c92..325242b3a 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; } -- cgit v1.2.3-70-g09d2