mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 03:40:16 +02:00
Merge pull request #896 from phillid/winch-redraw
Don't ignore SIGWINCH when window size is unchanged
This commit is contained in:
commit
7f14d4d744
1 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue