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:
parent
5a70fb6395
commit
cebf7bc762
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue