Run cargo fmt
This commit is contained in:
parent
e287af1f84
commit
9e5ce71e1c
1 changed files with 14 additions and 14 deletions
|
|
@ -266,21 +266,21 @@ impl Common {
|
||||||
.get::<PopupGrabData>()
|
.get::<PopupGrabData>()
|
||||||
.and_then(|x| x.take())
|
.and_then(|x| x.take())
|
||||||
{
|
{
|
||||||
if !popup_grab.has_ended() {
|
if !popup_grab.has_ended() {
|
||||||
if let Some(new) = popup_grab.current_grab() {
|
if let Some(new) = popup_grab.current_grab() {
|
||||||
trace!("restore focus to previous popup grab");
|
trace!("restore focus to previous popup grab");
|
||||||
if let Some(keyboard) = seat.get_keyboard() {
|
if let Some(keyboard) = seat.get_keyboard() {
|
||||||
keyboard.set_focus(
|
keyboard.set_focus(
|
||||||
state,
|
state,
|
||||||
Some(new.clone()),
|
Some(new.clone()),
|
||||||
SERIAL_COUNTER.next_serial(),
|
SERIAL_COUNTER.next_serial(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
ActiveFocus::set(&seat, Some(new));
|
ActiveFocus::set(&seat, Some(new));
|
||||||
seat.user_data()
|
seat.user_data()
|
||||||
.get_or_insert::<PopupGrabData, _>(PopupGrabData::default)
|
.get_or_insert::<PopupGrabData, _>(PopupGrabData::default)
|
||||||
.set(Some(popup_grab));
|
.set(Some(popup_grab));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue