shell: Set xdg_shell v4 bounds
This commit is contained in:
parent
bc49507353
commit
8f6ad62017
4 changed files with 18 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue