diff options
author | Ton Roosendaal <ton@blender.org> | 2011-03-09 21:42:35 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-03-09 21:42:35 +0300 |
commit | 108d150032a22f6eeb87253ec6ea5d4a88d1e8d8 (patch) | |
tree | b7ca4730646e283c153a2792fa4b8d2d54af49df /source/blender/editors/include/UI_interface.h | |
parent | 2b8fca93aa6a09a61e4792d1ac394409019ee1df (diff) |
From the todo:
Hanging Tooltips solved!
It appeared to be that an active button remained in that state when
another region/editor became active. It then kept the button-activate
state, and therefore also the optional tooltip.
This only happened on fast moves, when a mousemove event was not passed
on anymore to the previously active subwindow.
It has been solved with a new notifier (SWINACTIVE), which gets sent on
new active regions. The screen listener then calls uiFreeActiveButtons()
to find out if buttons were still active somewhere else.
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index db05b05173e..e938192c5aa 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -322,6 +322,7 @@ void uiBlockSetEmboss(uiBlock *block, char dt); void uiFreeBlock(const struct bContext *C, uiBlock *block); void uiFreeBlocks(const struct bContext *C, struct ListBase *lb); void uiFreeInactiveBlocks(const struct bContext *C, struct ListBase *lb); +void uiFreeActiveButtons(const struct bContext *C, struct bScreen *screen); void uiBlockSetRegion(uiBlock *block, struct ARegion *region); |