fix: take into account pending maximized state when recalculating window geometry
This commit is contained in:
parent
0596cce40d
commit
7a7c6b7fd4
1 changed files with 1 additions and 1 deletions
|
|
@ -1350,7 +1350,7 @@ impl FloatingLayout {
|
|||
mapped.set_bounds(geometry.size.as_logical());
|
||||
let prev = self.space.element_geometry(&mapped).map(RectExt::as_local);
|
||||
|
||||
let window_geometry = if mapped.is_maximized(false) {
|
||||
let window_geometry = if mapped.is_maximized(true) {
|
||||
geometry
|
||||
} else {
|
||||
prev.map(|mut rect| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue