From c313b2877aca4b24071928ae166885edb4673ccd Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Wed, 26 Oct 2005 09:40:52 +0000 Subject: [PATCH] In change_hook_html, instead of redrawing the current tab, set the resize flag on all tabs so that they will all be redrawn to reflect the new setting. --- src/config/options.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/config/options.c b/src/config/options.c index 2e1b05d76..dd2f6ffb7 100644 --- a/src/config/options.c +++ b/src/config/options.c @@ -875,12 +875,8 @@ change_hook_connection(struct session *ses, struct option *current, struct optio static int change_hook_html(struct session *ses, struct option *current, struct option *changed) { - if (ses) { - draw_formatted(ses, 1); - load_frames(ses, ses->doc_view); - process_file_requests(ses); - print_screen_status(ses); - } + foreach (ses, sessions) ses->tab->resize = 1; + return 0; }