Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_window.c
| Show First 20 Lines • Show All 251 Lines • ▼ Show 20 Lines | void wm_window_free(bContext *C, wmWindowManager *wm, wmWindow *win) | ||||
| if (win->eventstate) { | if (win->eventstate) { | ||||
| MEM_freeN(win->eventstate); | MEM_freeN(win->eventstate); | ||||
| } | } | ||||
| if (win->cursor_keymap_status) { | if (win->cursor_keymap_status) { | ||||
| MEM_freeN(win->cursor_keymap_status); | MEM_freeN(win->cursor_keymap_status); | ||||
| } | } | ||||
| WM_gestures_free_all(win); | |||||
| wm_event_free_all(win); | wm_event_free_all(win); | ||||
| wm_ghostwindow_destroy(wm, win); | wm_ghostwindow_destroy(wm, win); | ||||
| BKE_workspace_instance_hook_free(G_MAIN, win->workspace_hook); | BKE_workspace_instance_hook_free(G_MAIN, win->workspace_hook); | ||||
| MEM_freeN(win->stereo3d_format); | MEM_freeN(win->stereo3d_format); | ||||
| MEM_freeN(win); | MEM_freeN(win); | ||||
| ▲ Show 20 Lines • Show All 2,185 Lines • Show Last 20 Lines | |||||