Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_init_exit.c
| Context not available. | |||||
| WM_jobs_kill_all(wm); | WM_jobs_kill_all(wm); | ||||
| for (win = wm->windows.first; win; win = win->next) { | for (win = wm->windows.first; win; win = win->next) { | ||||
| CTX_wm_window_set(C, win); | |||||
| /* wm_window_close() not called for main window on OSX, so ensure window positions | |||||
| * are saved here. */ | |||||
| wm_window_set_preferred_window_position(win); | |||||
| CTX_wm_window_set(C, win); /* needed by operator close callbacks */ | |||||
| WM_event_remove_handlers(C, &win->handlers); | WM_event_remove_handlers(C, &win->handlers); | ||||
| WM_event_remove_handlers(C, &win->modalhandlers); | WM_event_remove_handlers(C, &win->modalhandlers); | ||||
| ED_screen_exit(C, win, WM_window_get_active_screen(win)); | ED_screen_exit(C, win, WM_window_get_active_screen(win)); | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||