diff --git a/lib/naughty.lua.in b/lib/naughty.lua.in index 144d953e1..9240c3f3b 100644 --- a/lib/naughty.lua.in +++ b/lib/naughty.lua.in @@ -530,7 +530,7 @@ if capi.dbus then end end if imgdata then - args.icon = capi.oocairo.image.surface_create_from_data(imgdata, "argb32", hints.icon_data[1], hints.icon_data[2], hints.icon_data[1] * 4) + args.icon = capi.oocairo.image_surface_create_from_data(imgdata, "argb32", hints.icon_data[1], hints.icon_data[2], hints.icon_data[1] * 4) end end if replaces_id and replaces_id ~= "" and replaces_id ~= 0 then