From 5271d9882e06d2fa8ffb2c6c4323a1fd88db81d4 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Mon, 14 Oct 2013 19:14:00 +0200 Subject: Reset background image of the layout. --- src/web.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/web.cc') diff --git a/src/web.cc b/src/web.cc index a469ccb2..0a8ee710 100644 --- a/src/web.cc +++ b/src/web.cc @@ -67,6 +67,10 @@ int a_Web_dispatch_by_type (const char *Type, DilloWeb *Web, style::Color *bgColor = style::Color::create (layout, prefs.bg_color); Web->bgColor = bgColor->getColor (); layout->setBgColor (bgColor); + layout->setBgImage (NULL, style::BACKGROUND_REPEAT, + style::BACKGROUND_ATTACHMENT_SCROLL, + style::createPerLength (0), + style::createPerLength (0)); /* Set a style for the widget */ StyleEngine styleEngine (layout); -- cgit v1.2.3