Format file

This commit is contained in:
Victor Timofei 2021-12-11 14:21:51 +02:00
parent 44b8a88de6
commit 89399181b0
Signed by: vtimofei
GPG Key ID: B790DCEBE281403A
1 changed files with 4 additions and 1 deletions

View File

@ -358,7 +358,10 @@ impl AnvilState<UdevData> {
let under;
// set focus for this window
if !self.pointer.is_grabbed() {
under = self.window_map.borrow_mut().get_surface_and_bring_to_top(self.pointer_location);
under = self
.window_map
.borrow_mut()
.get_surface_and_bring_to_top(self.pointer_location);
self.keyboard
.set_focus(under.as_ref().map(|&(ref s, _)| s), serial);
} else {