From cfe9231e593a28bef42bef5b7b862d4cb68478c1 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 24 Jan 2018 19:13:08 +0100 Subject: [PATCH] awful.keygrabber.run: Fix example (#2169) Fixes: https://github.com/awesomeWM/awesome/issues/2167 Signed-off-by: Uli Schlachter --- lib/awful/keygrabber.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/awful/keygrabber.lua b/lib/awful/keygrabber.lua index d1b4eabe..9d7c8ee1 100644 --- a/lib/awful/keygrabber.lua +++ b/lib/awful/keygrabber.lua @@ -67,7 +67,8 @@ end -- -- client using the keyboard. -- -- function resize(c) --- local grabber = awful.keygrabber.run(function(mod, key, event) +-- local grabber +-- grabber = awful.keygrabber.run(function(mod, key, event) -- if event == "release" then return end -- -- if key == 'Up' then c:relative_move(0, 0, 0, 5)