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.
This commit is contained in:
@@ -1017,7 +1017,6 @@ static int ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_ptr
|
|||||||
|
|
||||||
#if defined(__APPLE__) || defined(WIN32)
|
#if defined(__APPLE__) || defined(WIN32)
|
||||||
/* OSX and Win32 don't return to the mainloop while resize */
|
/* OSX and Win32 don't return to the mainloop while resize */
|
||||||
wm_event_do_handlers(C);
|
|
||||||
wm_event_do_notifiers(C);
|
wm_event_do_notifiers(C);
|
||||||
wm_draw_update(C);
|
wm_draw_update(C);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user