aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/widget.cpp')
-rw-r--r--gui/widget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp
index 6608c4fd57..4e7bf5adf6 100644
--- a/gui/widget.cpp
+++ b/gui/widget.cpp
@@ -33,6 +33,8 @@ Widget::Widget(GuiObject *boss, int x, int y, int w, int h)
// Insert into the widget list of the boss
_next = _boss->_firstWidget;
_boss->_firstWidget = this;
+ // HACK: we enable background saving for all widgets by default for now
+ _hints = THEME_HINT_FIRST_DRAW | THEME_HINT_SAVE_BACKGROUND;
}
Widget::~Widget() {