Commit e29dee95 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Don't invalidate x stacking order prematurely

Workspace::updateStackingOrder() will mark it as dirty if the stacking
order actually changes due to a constraint being added or removed.
parent c9ee2f06
......@@ -570,7 +570,6 @@ void Workspace::constrain(AbstractClient *below, AbstractClient *above)
child->parents << constraint;
}
markXStackingOrderAsDirty();
updateXStackingOrder();
}
......@@ -599,8 +598,6 @@ void Workspace::unconstrain(AbstractClient *below, AbstractClient *above)
}
delete constraint;
markXStackingOrderAsDirty();
updateStackingOrder();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment