Merge pull request #396 from mahkoh/jorth/subsurface-rendering-order
wl_subsurface: put new sub-surfaces on top
This commit is contained in:
commit
ac9e66f9ef
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ impl WlSubsurface {
|
|||
let mut data = self.parent.children.borrow_mut();
|
||||
let data = data.get_or_insert_with(Default::default);
|
||||
data.subsurfaces.insert(self.surface.id, self.clone());
|
||||
data.above.add_first(StackElement {
|
||||
data.above.add_last(StackElement {
|
||||
pending: Cell::new(true),
|
||||
sub_surface: self.clone(),
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue