[Bf-blender-cvs] [1cae9c4] master: Fix T46202: OS X (and Windows?) crash when going fullscreen.

Brecht Van Lommel noreply at git.blender.org
Tue Sep 22 23:21:33 CEST 2015


Commit: 1cae9c4af480e2ab674901c0933be3286f2ae2ca
Author: Brecht Van Lommel
Date:   Tue Sep 22 23:16:21 2015 +0200
Branches: master
https://developer.blender.org/rB1cae9c4af480e2ab674901c0933be3286f2ae2ca

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.

===================================================================

M	source/blender/windowmanager/intern/wm_window.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index 3120cfc..0b0cedf 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);




More information about the Bf-blender-cvs mailing list