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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2015-09-23 00:16:21 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-09-23 17:02:26 +0300
commit8db7ca1ccaa9111d79e29aaac745535a1523831d (patch)
treec5ad08b5c03261816e3cd9b07030e6e13042cb60 /source/blender
parent05ed4a4da1793a15bf38898ce801e70e028918de (diff)
Fix T46202: OS X (and Windows?) crash when going fullscreen.
Calling event handling recursively during window live resize is problematic, the code wasn't designed to do that. Instead postpone event handling until after live resize.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/windowmanager/intern/wm_window.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index a03f2c22055..29ed961a92e 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -1017,7 +1017,6 @@ static int ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_ptr
#if defined(__APPLE__) || defined(WIN32)
/* OSX and Win32 don't return to the mainloop while resize */
- wm_event_do_handlers(C);
wm_event_do_notifiers(C);
wm_draw_update(C);