aboutsummaryrefslogtreecommitdiff
path: root/src/web.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-10-14 19:14:00 +0200
committerSebastian Geerken <devnull@localhost>2013-10-14 19:14:00 +0200
commit5271d9882e06d2fa8ffb2c6c4323a1fd88db81d4 (patch)
treec36b7449967dadb0f583a6428fcf5b36e4e5718b /src/web.cc
parent2201fbb06e12a240f8ccb3347311f586c1fa6574 (diff)
Reset background image of the layout.
Diffstat (limited to 'src/web.cc')
-rw-r--r--src/web.cc4
1 files changed, 4 insertions, 0 deletions
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);