subsurface: fix damage application when position changes
This commit is contained in:
parent
b1df50f649
commit
300738db1f
1 changed files with 3 additions and 0 deletions
|
|
@ -139,6 +139,9 @@ impl WlSubsurface {
|
|||
stacking_changed = true;
|
||||
}
|
||||
if let Some((mut x, mut y)) = pending.position.take() {
|
||||
if self.surface.toplevel.is_some() {
|
||||
self.damage();
|
||||
}
|
||||
client_wire_scale_to_logical!(self.surface.client, x, y);
|
||||
self.position.set((x, y));
|
||||
let (parent_x, parent_y) = self.parent.buffer_abs_pos.get().position();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue