From 4559dca701ec188c97d7a8983fce1922abdf57c6 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 17 Oct 2010 21:00:33 +0200 Subject: also recompute backgroundStyle in StyleEngine::restyle() --- src/styleengine.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/styleengine.cc b/src/styleengine.cc index e725649d..72d7c48b 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -746,6 +746,10 @@ void StyleEngine::restyle () { n->wordStyle->unref (); n->wordStyle = NULL; } + if (n->backgroundStyle) { + n->backgroundStyle->unref (); + n->backgroundStyle = NULL; + } style0 (i); } -- cgit v1.2.3