Format file
This commit is contained in:
parent
44b8a88de6
commit
89399181b0
|
@ -358,7 +358,10 @@ impl AnvilState<UdevData> {
|
||||||
let under;
|
let under;
|
||||||
// set focus for this window
|
// set focus for this window
|
||||||
if !self.pointer.is_grabbed() {
|
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
|
self.keyboard
|
||||||
.set_focus(under.as_ref().map(|&(ref s, _)| s), serial);
|
.set_focus(under.as_ref().map(|&(ref s, _)| s), serial);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue