1
0
Fork 0
forked from wry/wry

wl_subsurface: set surface output during installation

This commit is contained in:
Julian Orth 2024-09-14 16:54:19 +02:00
parent 92be3d6db1
commit c4e468aed6

View file

@ -177,6 +177,7 @@ impl WlSubsurface {
update_children_attach(self)?;
let (x, y) = self.parent.buffer_abs_pos.get().position();
self.surface.set_absolute_position(x, y);
self.surface.set_output(&self.parent.output.get());
Ok(())
}