Merge pull request #540 from mahkoh/jorth/drag-damage
toplevel-drag: apply full damage when destroying toplevel
This commit is contained in:
commit
d2b6d3a109
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