autocommit 2022-01-08 16:57:40 CET
This commit is contained in:
parent
f8e7557d1d
commit
33549184d4
42 changed files with 2072 additions and 190 deletions
|
|
@ -112,7 +112,7 @@ impl WlSubsurface {
|
|||
let data = data.get_or_insert_with(|| Default::default());
|
||||
data.subsurfaces
|
||||
.insert(self.surface.id, self.surface.clone());
|
||||
data.above.prepend(StackElement {
|
||||
data.above.add_first(StackElement {
|
||||
pending: Cell::new(true),
|
||||
surface: self.surface.clone(),
|
||||
})
|
||||
|
|
@ -168,8 +168,8 @@ impl WlSubsurface {
|
|||
};
|
||||
if sibling == self.parent.id {
|
||||
let node = match above {
|
||||
true => pdata.above.prepend(element),
|
||||
_ => pdata.below.append(element),
|
||||
true => pdata.above.add_first(element),
|
||||
_ => pdata.below.add_last(element),
|
||||
};
|
||||
data.pending.node = Some(node);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue