aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/FbWindow.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index de6b197..162add6 100644
--- a/src/FbTk/FbWindow.cc
+++ b/src/FbTk/FbWindow.cc
@@ -163,9 +163,9 @@ void FbWindow::updateBackground(bool only_if_alpha) {
163 if (only_if_alpha && alpha == 255) 163 if (only_if_alpha && alpha == 255)
164 return; 164 return;
165 165
166 // still use bg buffer pixmap if not transparent 166 // still use bg buffer pixmap if not transparent
167 // cause it does nice caching things, assuming we have a renderer 167 // cause it does nice caching things, assuming we have a renderer
168 if (m_lastbg_pm != ParentRelative && (m_renderer || alpha != 255)) { 168 if (m_lastbg_pm != ParentRelative && (m_renderer || alpha != 255)) {
169 // update source and destination if needed 169 // update source and destination if needed
170 Pixmap root = FbPixmap::getRootPixmap(screenNumber()); 170 Pixmap root = FbPixmap::getRootPixmap(screenNumber());
171 if (alpha != 255 && m_transparent->source() != root) 171 if (alpha != 255 && m_transparent->source() != root)
@@ -566,7 +566,6 @@ void FbWindow::create(Window parent, int x, int y,
566 assert(m_window); 566 assert(m_window);
567 567
568 updateGeometry(); 568 updateGeometry();
569 FbWindow::setBackgroundColor(Color("gray", screenNumber()));
570} 569}
571 570
572 571