forked from PsychoticNinja/irssi
Merge pull request #896 from phillid/winch-redraw
Don't ignore SIGWINCH when window size is unchanged
This commit is contained in:
commit
7f14d4d744
@ -81,12 +81,10 @@ 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);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef SIGWINCH
|
||||
static void sig_winch(int p)
|
||||
|
Loading…
x
Reference in New Issue
Block a user