From a042f33964e9afdf5e68cade2194cc14f3fa9dc6 Mon Sep 17 00:00:00 2001 From: Espen Wiborg Date: Thu, 13 Nov 2008 19:55:11 +0100 Subject: [PATCH] revelation: Add arrow key behavior As promised by the documentation comment for the keyboardhandler. Signed-off-by: Espen Wiborg Signed-off-by: Julien Danjou --- lib/revelation.lua.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/revelation.lua.in b/lib/revelation.lua.in index 91ec9849..d4ea09ff 100644 --- a/lib/revelation.lua.in +++ b/lib/revelation.lua.in @@ -84,6 +84,9 @@ function keyboardhandler (restore) elseif key == "Return" then selectfn(restore)(capi.client.focus) return false + elseif key == "Left" or key == "Right" or + key == "Up" or key == "Down" then + awful.client.focus.bydirection(key:lower()) end return true end