Send SIGWINCH to a window only when focused.
commite783fe70beb9b26403ac7d36498dfa89fee613f6
authorSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Wed, 16 Jul 2008 01:00:58 +0000 (15 21:00 -0400)
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Wed, 16 Jul 2008 01:00:58 +0000 (15 21:00 -0400)
tree0149004a3cf5c5aeeb459f62455591fe798c45d6
parentb672551b1da8095f2f76e5718fbc05ed5f80e6ef
Send SIGWINCH to a window only when focused.
The documentation for resize.c:CheckScreenSize says to modify all
windows only when change_flag is 2. But ChangeScreenSize goes ahead and
resizes every window regardless of the value of change_flag. This caused
SIGWINCH to be sent to windows not in focus. This change fixes the issue.
Closes #23771.
src/resize.c