|
From: | Mahyar Abbaspour |
Subject: | Re: [Nano-devel] [PATCH] Window resize handling |
Date: | Mon, 4 May 2015 18:19:08 +0430 |
About the code... isn't this whole section superfluous?:
+ if (sigismember(&sigset, SIGWINCH)) {
+ /* Let pending SIGWINCH be delivered. */
+ allow_pending_sigwinch(TRUE);
+ allow_pending_sigwinch(FALSE);
+ regenerate_screen();
+ input = KEY_WINCH;
+ } else
Doesn't it get handled equally fine by what follows?
And the remaining allow_pending_sigwinch(FALSE);
wouldn't it be more logical to place it after
if (sigwinch_flag != sigwinch_flag_save)?
[Prev in Thread] | Current Thread | [Next in Thread] |