remove default gray background on created FbWindows (not everything should get a bg set)
simonb simonb
2 files changed,
5 insertions(+),
4 deletions(-)
M
src/FbTk/FbWindow.cc
→
src/FbTk/FbWindow.cc
@@ -163,9 +163,9 @@
if (only_if_alpha && alpha == 255) return; - // still use bg buffer pixmap if not transparent - // cause it does nice caching things, assuming we have a renderer - if (m_lastbg_pm != ParentRelative && (m_renderer || alpha != 255)) { + // still use bg buffer pixmap if not transparent + // cause it does nice caching things, assuming we have a renderer + if (m_lastbg_pm != ParentRelative && (m_renderer || alpha != 255)) { // update source and destination if needed Pixmap root = FbPixmap::getRootPixmap(screenNumber()); if (alpha != 255 && m_transparent->source() != root)@@ -566,7 +566,6 @@
assert(m_window); updateGeometry(); - FbWindow::setBackgroundColor(Color("gray", screenNumber())); }