naughty: fix a bug with variable width popups
Signed-off-by: koniu <gkusnierz@gmail.com>
This commit is contained in:
parent
64f0848940
commit
0e97360d32
|
@ -129,7 +129,7 @@ local function arrange(screen)
|
||||||
for p,pos in pairs(notifications[screen]) do
|
for p,pos in pairs(notifications[screen]) do
|
||||||
for i,notification in pairs(notifications[screen][p]) do
|
for i,notification in pairs(notifications[screen][p]) do
|
||||||
local offset = get_offset(screen, p, i, notification.width, notification.height)
|
local offset = get_offset(screen, p, i, notification.width, notification.height)
|
||||||
notification.box:geometry({ x = offset.x, y = offset.y, width = config.width, height = notification.height })
|
notification.box:geometry({ x = offset.x, y = offset.y, width = notification.width, height = notification.height })
|
||||||
notification.idx = i
|
notification.idx = i
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue