1
0
Fork 0
forked from wry/wry

float: optimize restacking

This commit is contained in:
Julian Orth 2025-07-16 21:34:41 +02:00
parent a97e92ccea
commit d038df28f7

View file

@ -519,6 +519,9 @@ impl FloatNode {
fn restack(&self) {
if let Some(dl) = &*self.display_link.borrow() {
if dl.next().is_none() {
return;
}
self.state.damage(self.position.get());
self.state.root.stacked.add_last_existing(&dl);
if let Some(tl) = self.child.get() {