core: fix delayed refresh when the signal SIGWINCH is received (terminal resized) (closes #902)
This fixes a regression introduced in version 1.7 by changes on signal handlers, commit 018b9693812eb58e6d15602366c61e937a9ea930.
This commit is contained in:
parent
0586413ede
commit
d6977490d0
@ -27,6 +27,10 @@ Improvements::
|
||||
* core: add last start date in output of command /version after at least one /upgrade (issue #903)
|
||||
* irc: don't smart filter modes given to you (issue #530, issue #897)
|
||||
|
||||
Bug fixes::
|
||||
|
||||
* core: fix delayed refresh when the signal SIGWINCH is received (terminal resized) (issue #902)
|
||||
|
||||
Build::
|
||||
|
||||
* core: fix compilation on FreeBSD with autotools (issue #276)
|
||||
|
@ -451,10 +451,6 @@ gui_main_loop ()
|
||||
gui_color_pairs_auto_reset_pending = 1;
|
||||
}
|
||||
|
||||
gui_main_refreshs ();
|
||||
if (gui_window_refresh_needed && !gui_window_bare_display)
|
||||
gui_main_refreshs ();
|
||||
|
||||
if (gui_signal_sigwinch_received)
|
||||
{
|
||||
(void) hook_signal_send ("signal_sigwinch",
|
||||
@ -463,6 +459,10 @@ gui_main_loop ()
|
||||
gui_window_ask_refresh (2);
|
||||
}
|
||||
|
||||
gui_main_refreshs ();
|
||||
if (gui_window_refresh_needed && !gui_window_bare_display)
|
||||
gui_main_refreshs ();
|
||||
|
||||
gui_color_pairs_auto_reset_pending = 0;
|
||||
|
||||
/* execute fd hooks */
|
||||
|
Loading…
x
Reference in New Issue
Block a user