mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
naughty: bottom positioning has to count border twice
Signed-off-by: koniu <gkusnierz@gmail.com>
This commit is contained in:
parent
61947ec1c8
commit
e1762128b7
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ local function get_offset(screen, position, idx, width, height)
|
|||
if position:match("top") then
|
||||
v.y = ws.y + config.padding + existing
|
||||
else
|
||||
v.y = ws.y + ws.height - (config.padding + config.border_width + height + existing)
|
||||
v.y = ws.y + ws.height - (config.padding + config.border_width*2 + height + existing)
|
||||
end
|
||||
|
||||
-- if positioned outside workarea, destroy oldest popup and recalculate
|
||||
|
|
Loading…
Reference in a new issue