diff options
author | Sebastian Geerken <devnull@localhost> | 2013-10-14 19:14:00 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-10-14 19:14:00 +0200 |
commit | 5271d9882e06d2fa8ffb2c6c4323a1fd88db81d4 (patch) | |
tree | c36b7449967dadb0f583a6428fcf5b36e4e5718b /src/web.cc | |
parent | 2201fbb06e12a240f8ccb3347311f586c1fa6574 (diff) |
Reset background image of the layout.
Diffstat (limited to 'src/web.cc')
-rw-r--r-- | src/web.cc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |