toplevel-drag: apply full damage when destroying toplevel
This commit is contained in:
parent
eb14eb6a68
commit
57514a432e
1 changed files with 1 additions and 0 deletions
|
|
@ -705,6 +705,7 @@ impl ToplevelNodeBase for XdgToplevel {
|
|||
|
||||
fn tl_destroy_impl(&self) {
|
||||
if let Some(drag) = self.drag.take() {
|
||||
self.xdg.damage();
|
||||
drag.toplevel.take();
|
||||
}
|
||||
self.xdg.destroy_node();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue