1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Change ui_win_has_attention() logic

This commit is contained in:
Michael Vetter 2021-05-31 09:51:12 +02:00
parent 2dcbaf98c0
commit 6df062b542

View File

@ -999,12 +999,14 @@ ui_win_unread(int index)
gboolean
ui_win_has_attention(int index)
{
gboolean ret = FALSE;
ProfWin* window = wins_get_by_num(index);
if (window) {
return win_has_attention(window);
} else {
return 0;
ret = win_has_attention(window);
}
return ret;
}