X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/1b909160d6588efc113fed329a9d6d7cff216e3a..012c6b6215d2b3aad14778e8f55c511e32960c3b:/util/menu_iterator.lua

diff --git a/util/menu_iterator.lua b/util/menu_iterator.lua
index 0ea4e0e..9959b25 100644
--- a/util/menu_iterator.lua
+++ b/util/menu_iterator.lua
@@ -11,12 +11,13 @@
 -- lain.util.menu_iterator
 
 local naughty = require("naughty")
+local helpers = require("lain.helpers")
 local util    = require("lain.util")
 local atable  = require("awful.util").table
 local assert  = assert
 local pairs   = pairs
 local tconcat = table.concat
-local unpack  = unpack
+local unpack = unpack or table.unpack -- lua 5.1 retro-compatibility
 
 local state = { cid = nil }