diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-02-01 02:33:04 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-02-01 02:33:04 +0300 |
commit | 1d4778ee90de04912515100467392070c0696db9 (patch) | |
tree | 3f909979969b40bdd70b9c8b445f0872e105143c /source/blender/windowmanager/wm_event_types.h | |
parent | da41eb178bf90ba1e48644cd3540ca3a90783d5f (diff) |
Fix #19888: tooltip would stay visible when starting e.g. panning the
view, and be stuck there permantenly when leaving the region. Now the
button interaction is cancelled when starting a modal operator, not too
happy about this, but couldn't think of another way to detect this well.
Diffstat (limited to 'source/blender/windowmanager/wm_event_types.h')
-rw-r--r-- | source/blender/windowmanager/wm_event_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/wm_event_types.h b/source/blender/windowmanager/wm_event_types.h index be0f5abbc47..c2fe3cc8017 100644 --- a/source/blender/windowmanager/wm_event_types.h +++ b/source/blender/windowmanager/wm_event_types.h @@ -267,6 +267,7 @@ #define EVT_BUT_OPEN 0x5021 #define EVT_MODAL_MAP 0x5022 #define EVT_DROP 0x5023 +#define EVT_BUT_CANCEL 0x5024 /* NOTE: these defines are saved in keymap files, do not change values but just add new ones */ #define GESTURE_MODAL_CANCEL 1 |