Fix integration tests
This commit is contained in:
parent
7c6915b0ec
commit
38e58bd11d
1 changed files with 3 additions and 3 deletions
|
|
@ -92,7 +92,7 @@ pub struct Toplevel {
|
||||||
pub states: Vec<xdg_toplevel::State>,
|
pub states: Vec<xdg_toplevel::State>,
|
||||||
pub closed: bool,
|
pub closed: bool,
|
||||||
pub title: Option<String>,
|
pub title: Option<String>,
|
||||||
pub app_id: Option<String>
|
pub app_id: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
|
|
@ -501,7 +501,6 @@ impl Dispatch<XdgToplevel, SurfaceId> for State {
|
||||||
unreachable!();
|
unreachable!();
|
||||||
};
|
};
|
||||||
toplevel.app_id = app_id.into();
|
toplevel.app_id = app_id.into();
|
||||||
|
|
||||||
}
|
}
|
||||||
other => todo!("unhandled request {other:?}"),
|
other => todo!("unhandled request {other:?}"),
|
||||||
}
|
}
|
||||||
|
|
@ -531,7 +530,7 @@ impl Dispatch<XdgSurface, SurfaceId> for State {
|
||||||
states: Vec::new(),
|
states: Vec::new(),
|
||||||
closed: false,
|
closed: false,
|
||||||
title: None,
|
title: None,
|
||||||
app_id: None
|
app_id: None,
|
||||||
};
|
};
|
||||||
let data = state.surfaces.get_mut(surface_id).unwrap();
|
let data = state.surfaces.get_mut(surface_id).unwrap();
|
||||||
data.role = Some(SurfaceRole::Toplevel(t));
|
data.role = Some(SurfaceRole::Toplevel(t));
|
||||||
|
|
@ -838,6 +837,7 @@ impl Dispatch<WlSurface, ()> for State {
|
||||||
.surfaces
|
.surfaces
|
||||||
.remove(&SurfaceId(resource.id().protocol_id()));
|
.remove(&SurfaceId(resource.id().protocol_id()));
|
||||||
}
|
}
|
||||||
|
SetInputRegion { .. } => {}
|
||||||
other => todo!("unhandled request {other:?}"),
|
other => todo!("unhandled request {other:?}"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue