shell: Set xdg_shell v4 bounds

This commit is contained in:
Victoria Brekenfeld 2023-03-31 14:04:35 +02:00
parent bc49507353
commit 8f6ad62017
4 changed files with 18 additions and 0 deletions

View file

@ -90,6 +90,7 @@ impl FloatingLayout {
let layers = layer_map_for_output(&output);
let geometry = layers.non_exclusive_zone();
mapped.set_bounds(geometry.size);
let last_geometry = mapped.last_geometry.lock().unwrap().clone();
if let Some(size) = last_geometry.map(|g| g.size) {