stack-tracker: More small cleanups
This commit is contained in:
parent
41b4a079c7
commit
5f25ca0c3a
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user