From 3b146b834c6b78104d5e75f50ef84255766951f9 Mon Sep 17 00:00:00 2001 From: Anatol Pomozov Date: Tue, 12 May 2015 10:23:27 -0700 Subject: [PATCH] Use table.unpack() with Lua5.2 instead of deprecated unpack() --- lib/naughty/dbus.lua.in | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/naughty/dbus.lua.in b/lib/naughty/dbus.lua.in index b3d109cbb..2a91393cd 100644 --- a/lib/naughty/dbus.lua.in +++ b/lib/naughty/dbus.lua.in @@ -23,6 +23,7 @@ local schar = string.char local sbyte = string.byte local tcat = table.concat local tins = table.insert +local unpack = unpack or table.unpack -- v5.1: unpack, v5.2: table.unpack local naughty = require("naughty.core") --- Notification library, dbus bindings