naughty: fix size/position messup on arrange

Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
koniu 2009-08-07 22:13:49 +01:00 committed by Julien Danjou
parent 5a70fb6395
commit cebf7bc762
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,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 = notification.width, height = notification.height }) notification.box:geometry({ x = offset.x, y = offset.y })
notification.idx = offset.idx notification.idx = offset.idx
end end
end end