about summary refs log tree commit diff stats
path: root/src/ui/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/core.c')
-rw-r--r--src/ui/core.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 4e4e39a0..f4ee4a86 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -996,6 +996,20 @@ ui_win_unread(int index)
     }
 }
 
+gboolean
+ui_win_has_attention(int index)
+{
+    gboolean ret = FALSE;
+
+    ProfWin* window = wins_get_by_num(index);
+    if (window) {
+        ret = win_has_attention(window);
+    }
+
+    return ret;
+}
+
+
 char*
 ui_ask_password(gboolean confirm)
 {