From 89e8f7fd53f1305b0ac36b619a9ef40ed0538bf3 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sun, 25 Nov 2012 14:28:34 +0100 Subject: [PATCH] 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. --- src/setting.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.20.1