From: Daniel Carl Date: Sun, 25 Nov 2012 13:28:34 +0000 (+0100) Subject: Apply the input style settings if they where set. X-Git-Url: https://git.owens.tech/about.html/about.html/git?a=commitdiff_plain;h=89e8f7fd53f1305b0ac36b619a9ef40ed0538bf3;p=vimb.git Apply the input style settings if they where set. Before this patch it was possible that the input box uses another font with other line height. If the first text is type in the input box this changes it's size. Now the fonts and colors will be applied to it immediately. --- diff --git a/src/setting.c b/src/setting.c index 8540dd1..9e51c7c 100644 --- a/src/setting.c +++ b/src/setting.c @@ -248,6 +248,8 @@ static gboolean setting_input_style(const Setting* s) } style->input_font[type] = pango_font_description_from_string(s->arg.s); } + /* echo already visible input text to apply the new style to input box */ + vp_echo(VP_MSG_NORMAL, FALSE, GET_TEXT()); return TRUE; }