diff options
author | Ton Roosendaal <ton@blender.org> | 2013-06-07 19:42:26 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2013-06-07 19:42:26 +0400 |
commit | c24be7ec6e5269c54552d1fb03707b97befd48d1 (patch) | |
tree | 0b3a034e62b39ab9d97021288dc0572e06eb21d9 /source/blender/windowmanager | |
parent | a604fb730dd62a2730a3a753adc057abb93296cb (diff) |
Usablity:
Textbuttons: double click now selects entire words (like on file path segements)
Triple click was requested too, but that's not a WM event type yet.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index de961afefd8..ac714b09bb0 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -380,8 +380,8 @@ static int wm_handler_ui_call(bContext *C, wmEventHandler *handler, wmEvent *eve int retval; /* UI code doesn't handle return values - it just always returns break. - * to make the DBL_CLICK conversion work, we just don't send this to UI */ - if (event->val == KM_DBL_CLICK) + * to make the DBL_CLICK conversion work, we just don't send this to UI, except mouse clicks */ + if (event->type != LEFTMOUSE && event->val == KM_DBL_CLICK) return WM_HANDLER_CONTINUE; /* UI is quite aggressive with swallowing events, like scrollwheel */ |