clippy fixes
This commit is contained in:
parent
adc28eeb93
commit
9be6c85459
3 changed files with 2 additions and 3 deletions
|
|
@ -1201,7 +1201,7 @@ impl KmsState {
|
||||||
.values_mut()
|
.values_mut()
|
||||||
.find(|dev| dev.surfaces.values().any(|s| s.output == *output))
|
.find(|dev| dev.surfaces.values().any(|s| s.output == *output))
|
||||||
{
|
{
|
||||||
let (crtc, mut surface) = device
|
let (crtc, surface) = device
|
||||||
.surfaces
|
.surfaces
|
||||||
.iter_mut()
|
.iter_mut()
|
||||||
.find(|(_, s)| s.output == *output)
|
.find(|(_, s)| s.output == *output)
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,6 @@ impl ToplevelManagementHandler for State {
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.clone();
|
.clone();
|
||||||
|
|
||||||
std::mem::drop(workspace);
|
|
||||||
self.common.shell.activate(&output, idx as usize);
|
self.common.shell.activate(&output, idx as usize);
|
||||||
mapped.focus_window(window);
|
mapped.focus_window(window);
|
||||||
Common::set_focus(self, Some(&mapped.clone().into()), &seat, None);
|
Common::set_focus(self, Some(&mapped.clone().into()), &seat, None);
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ impl State {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut xwayland_state = data.state.common.xwayland_state.as_mut().unwrap();
|
let xwayland_state = data.state.common.xwayland_state.as_mut().unwrap();
|
||||||
xwayland_state.xwm = Some(wm);
|
xwayland_state.xwm = Some(wm);
|
||||||
}
|
}
|
||||||
XWaylandEvent::Exited => {
|
XWaylandEvent::Exited => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue