diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-10-15 18:33:16 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-10-15 18:37:46 +0400 |
commit | 4581091fc46a3a7394ca8527234b3dd316b4f886 (patch) | |
tree | 4b1a5a544d1906c12ca646bba2b0e726d298f738 /source/blender/windowmanager/wm_event_system.h | |
parent | a4bb56f9badd8bf74449b7215680efbdfde34da0 (diff) |
Only detect active widget on mousemoves. Now handler operates on
mouseclick (bound to change)
Diffstat (limited to 'source/blender/windowmanager/wm_event_system.h')
-rw-r--r-- | source/blender/windowmanager/wm_event_system.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/wm_event_system.h b/source/blender/windowmanager/wm_event_system.h index d8768ac348c..346db4759a2 100644 --- a/source/blender/windowmanager/wm_event_system.h +++ b/source/blender/windowmanager/wm_event_system.h @@ -111,6 +111,7 @@ void wm_drags_draw(bContext *C, wmWindow *win, rcti *rect); /* wm_widgets.c */ struct wmWidget *wm_widget_find_active_3D(struct wmWidgetMap *wmap, struct bContext *C, const struct wmEvent *event); void wm_widgetmap_set_active_widget(struct wmWidgetMap *wmap, struct bContext *C, struct wmWidget *widget); +struct wmWidget *wm_widgetmap_get_active_widget(struct wmWidgetMap *wmap); #endif /* __WM_EVENT_SYSTEM_H__ */ |