if ((m_comp_mode == cmBuffered) && (root->m_comp_buffer))
{
root->m_comp_buffer->m_position = root->position();
- redrawComposition(0);
+// redrawComposition(0);
return 0;
}
invalidate(redraw);
} else
{
+ if (!root->m_vis & eWidget::wVisShow)
+ {
+ removeBufferForWidget(root);
+ return;
+ }
if ((!root->m_comp_buffer) || (root->size() != root->m_comp_buffer->m_screen_size))
createBufferForWidget(root);
void eWidgetDesktop::paint()
{
- eDebug("paint");
m_require_redraw = 0;
/* walk all root windows. */
if (m_comp_mode == cmBuffered)
{
- eDebug("redraw composition");
- redrawComposition(0);
+// redrawComposition(0);
}
}