From dbca3507bbae182ca9b3e7815bfddbdf4b36b335 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 3 Feb 2019 11:56:37 -0500 Subject: [PATCH] shortcut: Support Lua 5.2+ --- shortcut.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortcut.lua b/shortcut.lua index fb43289..58c18fe 100644 --- a/shortcut.lua +++ b/shortcut.lua @@ -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" )