stack-tracker: More small cleanups

This commit is contained in:
Jasper St. Pierre 2014-07-10 16:27:30 -04:00
parent 41b4a079c7
commit 5f25ca0c3a
2 changed files with 3 additions and 10 deletions

View File

@ -1029,8 +1029,6 @@ static void
stack_tracker_event_received (MetaStackTracker *tracker,
MetaStackOp *op)
{
gboolean verified;
/* If the event is older than our latest requery, then it's
* already included in our tree. Just ignore it. */
if (op->any.serial < tracker->xserver_serial)
@ -1051,13 +1049,8 @@ stack_tracker_event_received (MetaStackTracker *tracker,
*/
meta_stack_op_apply (op, tracker->xserver_stack);
verified = stack_tracker_verify_predictions (tracker, op);
if (!verified)
{
resync_verified_stack_with_xserver_stack (tracker);
meta_stack_tracker_dump (tracker);
return;
}
if (!stack_tracker_verify_predictions (tracker, op))
resync_verified_stack_with_xserver_stack (tracker);
meta_stack_tracker_dump (tracker);
}

View File

@ -49,7 +49,7 @@ meta_topic_real_valist (MetaDebugTopic topic,
va_list args);
#endif
static gint verbose_topics = 0;
static gint verbose_topics = META_DEBUG_STACK;
static gboolean is_debugging = FALSE;
static gboolean replace_current = FALSE;
static int no_prefix = 0;