mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Fix redraw defer code in the presence of multiple clients - the timer
may be needed for all of them, so don't delete it on the first; and don't skip setting the redraw flag if the timer is already running. Reported by Pol Van Aubel in GitHub issue 1003.
This commit is contained in:
14
proc.c
14
proc.c
@ -255,13 +255,13 @@ proc_clear_signals(struct tmuxproc *tp)
|
||||
sigaction(SIGPIPE, &sa, NULL);
|
||||
sigaction(SIGTSTP, &sa, NULL);
|
||||
|
||||
event_del(&tp->ev_sighup);
|
||||
event_del(&tp->ev_sigchld);
|
||||
event_del(&tp->ev_sigcont);
|
||||
event_del(&tp->ev_sigterm);
|
||||
event_del(&tp->ev_sigusr1);
|
||||
event_del(&tp->ev_sigusr2);
|
||||
event_del(&tp->ev_sigwinch);
|
||||
signal_del(&tp->ev_sighup);
|
||||
signal_del(&tp->ev_sigchld);
|
||||
signal_del(&tp->ev_sigcont);
|
||||
signal_del(&tp->ev_sigterm);
|
||||
signal_del(&tp->ev_sigusr1);
|
||||
signal_del(&tp->ev_sigusr2);
|
||||
signal_del(&tp->ev_sigwinch);
|
||||
}
|
||||
|
||||
struct tmuxpeer *
|
||||
|
Reference in New Issue
Block a user