mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
placement: Fix a parent geometry bug in next_to
.
The function returns the geometry of the parent object. As it was used, it was passed the parent object directly. The means the parent geometry of the parent object was used instead of the geometry of the parent object. This worked "fine" as long as the mouse was in the same screen, but it was just hiding the bug.
This commit is contained in:
parent
0703fa2197
commit
8190ece3b2
1 changed files with 1 additions and 1 deletions
|
@ -1533,7 +1533,7 @@ function placement.next_to(d, args)
|
|||
|
||||
geo.width, geo.height = dgeo.width, dgeo.height
|
||||
|
||||
fit = fit_in_bounding(pos.region.screen, geo, args)
|
||||
fit = fit_in_bounding(pos.region, geo, args)
|
||||
|
||||
if fit then break end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue