Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-11-01 21:39:40 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-11-01 21:44:03 +0300
commit10d7740e010f1c2c15072516a6427977166a60ee (patch)
tree4318bcd59ad8899167c941562bc54ab5134e128b /source/blender/editors/space_topbar
parentc2bcde5c285ec731c3f869324455d85c39ff3c75 (diff)
UI: show messages and progress in topbar when status bar is collapsed.
Diffstat (limited to 'source/blender/editors/space_topbar')
-rw-r--r--source/blender/editors/space_topbar/space_topbar.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/space_topbar/space_topbar.c b/source/blender/editors/space_topbar/space_topbar.c
index db75545fbd6..567a733309c 100644
--- a/source/blender/editors/space_topbar/space_topbar.c
+++ b/source/blender/editors/space_topbar/space_topbar.c
@@ -180,6 +180,14 @@ static void topbar_header_listener(wmWindow *UNUSED(win), ScrArea *UNUSED(sa), A
{
/* context changes */
switch (wmn->category) {
+ case NC_WM:
+ if (wmn->data == ND_JOB)
+ ED_region_tag_redraw(ar);
+ break;
+ case NC_SPACE:
+ if (wmn->data == ND_SPACE_INFO)
+ ED_region_tag_redraw(ar);
+ break;
case NC_SCREEN:
if (wmn->data == ND_LAYER)
ED_region_tag_redraw(ar);