diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-09-17 21:42:31 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-09-17 21:42:31 +0200 |
commit | 4fc467bb9112d4e49cc9ecbde03aa72bd805fc6d (patch) | |
tree | 522588524950ab2501a94449145806bfd54b75cc /dw/widget.cc | |
parent | 6dc060d999d0c76175b535db2f81b7bc4e64c3f5 (diff) |
directly set background color
As defined in http://www.w3.org/TR/CSS2/colors.html, the background
color of the canvas can either be defined by the <html> or the <body>
tag. To be able to deal with this in src/html.cc we now explicitely set
the canvas color instead of infering it from the root widget.
Diffstat (limited to 'dw/widget.cc')
-rw-r--r-- | dw/widget.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/dw/widget.cc b/dw/widget.cc index fb0d29e0..7476e246 100644 --- a/dw/widget.cc +++ b/dw/widget.cc @@ -302,8 +302,6 @@ void Widget::setStyle (style::Style *style) this->style = style; if (layout != NULL) { - if (parent == NULL) - layout->updateBgColor (); layout->updateCursor (); } |