Release layout slots for unbuffered XDG windows
This commit is contained in:
1 parent
67192c0c04
commit
2eb5fe7b73
4 files changed
+268
-4
No files matched your search
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user