Skip to content

Commit

Permalink
fix: try to remove all wl_surface
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Feb 10, 2025
1 parent a42b724 commit 6efc146
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions libwaysip/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,5 +189,10 @@ fn get_area_inner(
}

layer_shell.destroy();
for surface in &state.wl_surfaces {
surface.wl_surface.destroy();
surface.cursor_surface.destroy();
surface.buffer.destroy();
}
Ok(state.area_info())
}

0 comments on commit 6efc146

Please sign in to comment.