about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-16 18:52:27 +0000
committerJames Booth <boothj5@gmail.com>2014-01-16 18:52:27 +0000
commit95b5d141c365372ebdbc5ca3266fc9859e21aa30 (patch)
tree86b1e1da0798d6429098b2bb4c5ff54c4baabf75 /src
parentfa8801798c637ef8d03324b13740c4d8984a0fab (diff)
downloadprofani-tty-95b5d141c365372ebdbc5ca3266fc9859e21aa30.tar.gz
Added _title_bar_draw_title when setting presence
Diffstat (limited to 'src')
-rw-r--r--src/ui/titlebar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/titlebar.c b/src/ui/titlebar.c
index d72ec796..6f056659 100644
--- a/src/ui/titlebar.c
+++ b/src/ui/titlebar.c
@@ -115,6 +115,7 @@ static void
 _title_bar_set_presence(contact_presence_t presence)
 {
     current_presence = presence;
+    _title_bar_draw_title();
     _title_bar_draw_presence();
 }
 
@@ -170,8 +171,8 @@ static void
 _title_bar_draw(void)
 {
     werase(win);
-    _title_bar_draw_presence();
     _title_bar_draw_title();
+    _title_bar_draw_presence();
 }
 
 static void