only once. */
eSize old_size = m_size;
eSize old_offset = m_client_offset;
+ m_client_size = size;
m_client_offset = eSize(0, 0);
event(evtWillChangeSize, &size, &m_client_offset);
if (old_size == m_size)
while (root && !root->m_desktop)
{
root = root->m_parent;
- assert(root);
+ ASSERT(root);
if (root->m_layer != -1)
target_layer = root->m_layer;
abspos += root->position();
probably somebody already erased the root, but tries some
operations on a child window.
ignore them for now. */
- /* assert(root); */
+ /* ASSERT(root); */
return;
}
if (root->m_layer != -1)
return;
abspos += root->position();
}
- assert(root->m_desktop);
+ ASSERT(root->m_desktop);
gRegion abs = m_visible_with_childs;
abs.moveBy(abspos);
while (root && !root->m_desktop)
{
root = root->m_parent;
- assert(root);
+ ASSERT(root);
abspos += root->position();
}
break;
}
t = t->m_parent;
- assert(t);
+ ASSERT(t);
} while(1);
}
} else
{
eWidget *w = this;
- while (w && !w->m_have_background_color)
+ while (w && !w->m_have_background_color)
w = w->m_parent;
if (w)