diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-01-15 13:33:50 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-01-15 13:42:08 +0300 |
commit | 48f38f850b8f00164a33cf430ffc2877f8faf063 (patch) | |
tree | 0ed37a0422757f1c9a234c547215bf8712622bf0 /source/blender/windowmanager/intern/wm_event_system.c | |
parent | bb70594c1bc2a3c859c45fcd35776327be5e8e04 (diff) |
Fix T60497: wrong statusbar keymap display with MMB emulation.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_event_system.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index d102fdf8765..a2850a7554b 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -4623,6 +4623,7 @@ void WM_window_cursor_keymap_status_refresh(bContext *C, wmWindow *win) wmEvent test_event = *win->eventstate; test_event.type = event_data[data_index].event_type; test_event.val = event_data[data_index].event_value; + wm_eventemulation(&test_event); wmKeyMapItem *kmi = NULL; for (int handler_index = 0; handler_index < ARRAY_SIZE(handlers); handler_index++) { kmi = wm_kmi_from_event(C, wm, handlers[handler_index], &test_event); |