naughty: fix a bug with variable width popups

Signed-off-by: koniu <gkusnierz@gmail.com>
This commit is contained in:
koniu 2008-11-21 00:44:55 +00:00 committed by Julien Danjou
parent 64f0848940
commit 0e97360d32
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ local function arrange(screen)
for p,pos in pairs(notifications[screen]) do
for i,notification in pairs(notifications[screen][p]) do
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
end
end