mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
Fix shadowing problem breaking MetaStackTracker
A variable shadowing problem introduced in cleanup was causing queued elements to be removed too early. http://bugzilla.gnome.org/show_bug.cgi?id=585984
This commit is contained in:
parent
9828007a02
commit
eed2a2d324
@ -515,12 +515,12 @@ stack_tracker_event_received (MetaStackTracker *tracker,
|
||||
|
||||
while (tracker->queued_requests->head)
|
||||
{
|
||||
MetaStackOp *op = tracker->queued_requests->head->data;
|
||||
if (op->any.serial > op->any.serial)
|
||||
MetaStackOp *queued_op = tracker->queued_requests->head->data;
|
||||
if (queued_op->any.serial > op->any.serial)
|
||||
break;
|
||||
|
||||
g_queue_pop_head (tracker->queued_requests);
|
||||
meta_stack_op_free (op);
|
||||
meta_stack_op_free (queued_op);
|
||||
}
|
||||
|
||||
if (tracker->predicted_stack)
|
||||
|
Loading…
x
Reference in New Issue
Block a user