Release layout slots for unbuffered XDG windows

This commit is contained in:
Samuel Onoja committed 2026-09-29 11:52:17 +01:00
1 parent 67192c0c04
commit 2eb5fe7b73
4 files changed
+268 -4

No files matched your search

+1 -1
View File
@@ -2876,7 +2876,7 @@ fn client_size(window: &Window) -> Option<ClientSize> {
})
}
fn window_has_buffer(window: &Window) -> bool {
pub(crate) fn window_has_buffer(window: &Window) -> bool {
window.toplevel().is_some_and(|toplevel| {
smithay::backend::renderer::utils::with_renderer_surface_state(
toplevel.wl_surface(),