From 532c113e1f3d22aa2a6213fa56dab53767d2a80c Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 21 Jan 2015 08:33:03 +0100 Subject: [PATCH] minor: doc fixes for keygrabber.lua --- lib/awful/keygrabber.lua.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/awful/keygrabber.lua.in b/lib/awful/keygrabber.lua.in index 091dfab3f..88db1dd96 100644 --- a/lib/awful/keygrabber.lua.in +++ b/lib/awful/keygrabber.lua.in @@ -28,7 +28,8 @@ local function grabber(mod, key, event) end --- Stop grabbing the keyboard for the provided callback. --- When no callback is given, the least grabber gets removed (last one added to the stack). +-- When no callback is given, the last grabber gets removed (last one added to +-- the stack). -- @param g The key grabber that must be removed. function keygrabber.stop(g) for i, v in ipairs(grabbers) do @@ -37,7 +38,7 @@ function keygrabber.stop(g) break end end - -- stop the global key grabber if the last grabber disappears from stack + -- Stop the global key grabber if the last grabber disappears from stack. if #grabbers == 0 then keygrabbing = false capi.keygrabber.stop()