do not remove the surface focus during ungrap

fixes #163
This commit is contained in:
Christian Meissl 2021-06-21 11:26:50 +02:00 committed by Victor Berger
parent c4f2d34647
commit 6bd0d71ebc
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ impl<'a> PointerInnerHandle<'a> {
self.inner.grab = GrabStatus::None;
// restore the focus
let location = self.current_location();
let focus = self.inner.pending_focus.take();
let focus = self.inner.pending_focus.clone();
self.motion(location, focus, serial, time);
}