Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2008-12-10 18:12:46 +0300
committerTon Roosendaal <ton@blender.org>2008-12-10 18:12:46 +0300
commitacce05c7e40785d3b89aa69a61b4b4a91dedc0b4 (patch)
tree81f7144a6a681847bfddf19accdff76696267287 /source/blender
parent54c4ed469ad632b06e444ff577f35effca952e38 (diff)
2.5
Fix: on quit with a ghost event, windows were freed without freeing screens.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/windowmanager/intern/wm_window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index 50263b8084b..644f1a95c8e 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -153,6 +153,8 @@ wmWindow *wm_window_copy(bContext *C, wmWindow *winorig)
static void wm_window_close(bContext *C, wmWindow *win)
{
BLI_remlink(&C->wm->windows, win);
+
+ ED_screen_exit(C, win, win->screen);
wm_window_free(C, win);
if(C->wm->windows.first==NULL)