shortcut: Support Lua 5.2+

This commit is contained in:
Emmanuel Lepage Vallee 2019-02-03 11:56:37 -05:00
parent 5a03f76cc3
commit dbca3507bb
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
local capi = {root=root,client=client,tag=tag,mouse=mouse}
local ipairs = ipairs
local unpack = unpack
local unpack = unpack or table.unpack -- luacheck: globals unpack (compatibility with Lua 5.1)
local aw_util = require( "awful.util" )
local aw_spawn = require( "awful.spawn" )
local aw_tag = require( "awful.tag" )