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:
authorCampbell Barton <ideasman42@gmail.com>2018-06-26 13:18:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-26 13:18:54 +0300
commitcdd915e9e9646b9dcb83999712f48546fb830c1f (patch)
tree8b84563f7f4f59248c2c0151289bd53a9b919921 /source/blender/windowmanager/intern/wm_window.c
parent4adf19e80b5f7bed2737d720ba99d8d6d60ca955 (diff)
UI: status bar cursor keymap display
Show mouse button actions in status bar, based on context, modifiers and active tool. See: T54861
Diffstat (limited to 'source/blender/windowmanager/intern/wm_window.c')
-rw-r--r--source/blender/windowmanager/intern/wm_window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index acc9a500247..b03b156b78c 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -229,6 +229,10 @@ void wm_window_free(bContext *C, wmWindowManager *wm, wmWindow *win)
if (win->eventstate) MEM_freeN(win->eventstate);
+ if (win->cursor_keymap_status) {
+ MEM_freeN(win->cursor_keymap_status);
+ }
+
wm_event_free_all(win);
wm_ghostwindow_destroy(wm, win);