floating: Fix broken size check
This commit is contained in:
parent
9ca5edc836
commit
234a3c6bf9
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ impl FloatingLayout {
|
|||
geometry.loc.x = offset;
|
||||
// do we need to resize?
|
||||
if geometry.loc.y as i32 + win_geo.size.h
|
||||
<= output_geometry.loc.y + output_geometry.size.h - 16
|
||||
> output_geometry.loc.y + output_geometry.size.h - 16
|
||||
{
|
||||
win_geo.size.h =
|
||||
(output_geometry.loc.y + output_geometry.size.h - 16)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue