1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-07-21 18:24:14 -04:00

Merge pull request #1808 from MarcoPolo-PasTonMolo/fix/empty_window_after_reconnect

Fix empty window after reconnect
This commit is contained in:
Michael Vetter 2023-04-03 17:16:47 +02:00 committed by GitHub
commit a086cfbc78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -160,7 +160,7 @@ sv_ev_roster_received(void)
// Redraw the screen after entry of the PGP secret key, but not init
ProfWin* win = wins_get_current();
char* theme = prefs_get_string(PREF_THEME);
win_clear(win);
win_redraw(win);
theme_init(theme);
g_free(theme);
ui_resize();

View File

@ -1367,6 +1367,10 @@ void
win_clear(ProfWin* window)
{
}
void
win_redraw(ProfWin* window)
{
}
char*
win_to_string(ProfWin* window)
{