Re-add debug code that got lost somehow ... and make it kdDebug()
to avoid the huge waste of space. svn path=/trunk/KDE/kdebase/workspace/; revision=788162
This commit is contained in:
parent
79b4e8e4fc
commit
10d3e03266
1 changed files with 6 additions and 2 deletions
|
@ -554,6 +554,10 @@ ClientList Workspace::constrainedStackingOrder()
|
|||
|
||||
#if 0
|
||||
kDebug() << "stacking1:";
|
||||
for( ClientList::ConstIterator it = unconstrained_stacking_order.begin();
|
||||
it != unconstrained_stacking_order.end();
|
||||
++it )
|
||||
kdDebug() << (void*)(*it) << *it << ":" << (*it)->layer();
|
||||
#endif
|
||||
// build the order from layers
|
||||
QHash< Group*, Layer > minimum_layer;
|
||||
|
@ -584,7 +588,7 @@ ClientList Workspace::constrainedStackingOrder()
|
|||
for( ClientList::ConstIterator it = stacking.begin();
|
||||
it != stacking.end();
|
||||
++it )
|
||||
kDebug() << (void*)(*it) << *it << ":" << (*it)->layer();
|
||||
kdDebug() << (void*)(*it) << *it << ":" << (*it)->layer();
|
||||
#endif
|
||||
// now keep transients above their mainwindows
|
||||
// TODO this could(?) use some optimization
|
||||
|
@ -652,7 +656,7 @@ ClientList Workspace::constrainedStackingOrder()
|
|||
for( ClientList::ConstIterator it = stacking.begin();
|
||||
it != stacking.end();
|
||||
++it )
|
||||
kDebug() << (void*)(*it) << *it << ":" << (*it)->layer();
|
||||
kdDebug() << (void*)(*it) << *it << ":" << (*it)->layer();
|
||||
kDebug() << "\n\n";
|
||||
#endif
|
||||
return stacking;
|
||||
|
|
Loading…
Reference in a new issue