1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Merge pull request #896 from phillid/winch-redraw

Don't ignore SIGWINCH when window size is unchanged
This commit is contained in:
ailin-nemui 2018-09-04 10:02:52 +02:00 committed by GitHub
commit 7f14d4d744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,11 +81,9 @@ void term_resize_dirty(void)
if (!term_get_size(&width, &height))
width = height = -1;
if (height != term_height || width != term_width) {
term_resize(width, height);
mainwindows_resize(term_width, term_height);
term_resize_final(width, height);
}
term_resize(width, height);
mainwindows_resize(term_width, term_height);
term_resize_final(width, height);
}
#ifdef SIGWINCH