diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-04-01 12:14:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 12:14:44 +0200 |
commit | 56ccbf68a85581ce6d8c7ec88ac6387e1c91ec3c (patch) | |
tree | 1442f62d03c3a2686c4f550c65ab9a5aa4bf8d69 | |
parent | 9a4cfa70efac52f35650b535a7110c0fd1f3bc79 (diff) | |
parent | e1323655ee2924cab5efd48fdb307e76b7d16b24 (diff) | |
download | profani-tty-56ccbf68a85581ce6d8c7ec88ac6387e1c91ec3c.tar.gz |
Merge pull request #1671 from paulfertser/fix-resize-race
Fix race condition on resize
-rw-r--r-- | src/ui/core.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 3b10888b..5ce42e50 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -144,10 +144,8 @@ ui_update(void) doupdate(); if (perform_resize) { - signal(SIGWINCH, SIG_IGN); - ui_resize(); perform_resize = FALSE; - signal(SIGWINCH, ui_sigwinch_handler); + ui_resize(); } } |