stack-tracker: Add some more debug output

This commit is contained in:
Jasper St. Pierre 2014-07-10 16:13:02 -04:00
parent 043a201f90
commit e4235376d8

View File

@ -726,6 +726,8 @@ stack_tracker_verify_predictions (MetaStackTracker *tracker,
* passed to this api. */ * passed to this api. */
g_return_val_if_fail (op->any.window.any.type == META_WINDOW_CLIENT_TYPE_X11, FALSE); g_return_val_if_fail (op->any.window.any.type == META_WINDOW_CLIENT_TYPE_X11, FALSE);
meta_topic (META_DEBUG_STACK, "Verifying predictions:\n");
if (tracker->unverified_predictions->length) if (tracker->unverified_predictions->length)
{ {
GList *l; GList *l;
@ -745,6 +747,9 @@ stack_tracker_verify_predictions (MetaStackTracker *tracker,
else else
predicted_stack = tracker->verified_stack; predicted_stack = tracker->verified_stack;
meta_topic (META_DEBUG_STACK, " predicted_stack: ");
stack_dump (predicted_stack);
switch (op->any.type) switch (op->any.type)
{ {
case STACK_OP_ADD: case STACK_OP_ADD: