chore: Formatting updates
This commit is contained in:
parent
ac889f609d
commit
4ee2763139
9 changed files with 170 additions and 80 deletions
|
|
@ -199,7 +199,9 @@ impl CosmicMapped {
|
|||
|
||||
pub fn has_surface(&self, surface: &WlSurface, surface_type: WindowSurfaceType) -> bool {
|
||||
self.windows().any(|(w, _)| {
|
||||
let Some(toplevel ) = w.wl_surface() else { return false };
|
||||
let Some(toplevel) = w.wl_surface() else {
|
||||
return false;
|
||||
};
|
||||
|
||||
if surface_type.contains(WindowSurfaceType::TOPLEVEL) {
|
||||
if toplevel == *surface {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue