summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}