mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Windowing system fixes, doesn't crash anymore after window resizes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@577 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
fc890ebd82
commit
a900cb580f
5 changed files with 14 additions and 18 deletions
|
|
@ -269,7 +269,7 @@ static void scrollback_goto_pos(WINDOW_REC *window, GList *pos)
|
|||
|
||||
gui->startline = gui->bottom_startline;
|
||||
gui->subline = gui->bottom_subline;
|
||||
gui->ypos = gui->parent->last_line-gui->parent->first_line;
|
||||
gui->ypos = gui->parent->lines-1;
|
||||
gui->bottom = TRUE;
|
||||
}
|
||||
|
||||
|
|
@ -400,7 +400,7 @@ static void cmd_scrollback_end(const char *data)
|
|||
|
||||
gui->startline = gui->bottom_startline;
|
||||
gui->subline = gui->bottom_subline;
|
||||
gui->ypos = gui->parent->last_line-gui->parent->first_line;
|
||||
gui->ypos = gui->parent->lines-1;
|
||||
gui->bottom = TRUE;
|
||||
|
||||
if (is_window_visible(active_win))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue