diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-07-29 12:29:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-07-29 12:29:04 +0400 |
commit | 02608d257a9358e3bd756f1db8c8f53484c34c37 (patch) | |
tree | 46e155fde459e42761afc44c46e6f01ff087fa71 /source/blender/editors/space_outliner | |
parent | c9eb93d9fd967b47a4a6f45db6472772bb9c9af8 (diff) |
add api call for initializing events from the windows eventstate.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index 81207deea01..666cf00280d 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -811,7 +811,7 @@ static uiBlock *operator_search_menu(bContext *C, ARegion *ar, void *arg_kmi) uiBlockSetDirection(block, UI_DOWN); uiEndBlock(C, block); - event = *(win->eventstate); /* XXX huh huh? make api call */ + wm_event_init_from_window(win, &event); event.type = EVT_BUT_OPEN; event.val = KM_PRESS; event.customdata = but; |