diff options
Diffstat (limited to 'src/window')
| -rw-r--r-- | src/window/mapped.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window/mapped.rs b/src/window/mapped.rs index 055f2cc5..37465843 100644 --- a/src/window/mapped.rs +++ b/src/window/mapped.rs @@ -466,7 +466,7 @@ impl Mapped { impl Drop for Mapped { fn drop(&mut self) { - remove_pre_commit_hook(self.toplevel().wl_surface(), self.pre_commit_hook); + remove_pre_commit_hook(self.toplevel().wl_surface(), self.pre_commit_hook.clone()); } } |
