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

Merge pull request #1671 from paulfertser/fix-resize-race

Fix race condition on resize
This commit is contained in:
Michael Vetter 2022-04-01 12:14:44 +02:00 committed by GitHub
commit 56ccbf68a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,10 +144,8 @@ ui_update(void)
doupdate(); doupdate();
if (perform_resize) { if (perform_resize) {
signal(SIGWINCH, SIG_IGN);
ui_resize();
perform_resize = FALSE; perform_resize = FALSE;
signal(SIGWINCH, ui_sigwinch_handler); ui_resize();
} }
} }