From e34528e1a659996a0efc95353b99cb662fc1e1f5 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 16 Dec 2008 17:36:51 +0000 Subject: UI: * Only open tooltip when the mouse is still over the button. * Remove an unnecessary redraw call, though the two mentioned in the previous commit seem to be working OK (it's for action buttons when you move the mouse away from the button, holding the mouse button down). * Fix missing alt key in key event strings. --- source/blender/windowmanager/intern/wm_keymap.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/windowmanager') diff --git a/source/blender/windowmanager/intern/wm_keymap.c b/source/blender/windowmanager/intern/wm_keymap.c index 8e08c9d0dbf..9a231148c36 100644 --- a/source/blender/windowmanager/intern/wm_keymap.c +++ b/source/blender/windowmanager/intern/wm_keymap.c @@ -495,6 +495,9 @@ static char *wm_keymap_item_to_string(wmKeymapItem *kmi, char *str, int len) if(kmi->ctrl) strcat(buf, "Ctrl "); + if(kmi->alt) + strcat(buf, "Alt "); + if(kmi->oskey) strcat(buf, "OS "); -- cgit v1.2.3