Hi,

Small patch to fix the mod4+Tab behaviour.
Cheers,

-- 
Damien Leone
>From 761e0a5f0256d5e14d68458ad275a12c156d0b41 Mon Sep 17 00:00:00 2001
From: Damien Leone <[email protected]>
Date: Thu, 18 Dec 2008 10:44:07 +0100
Subject: [PATCH] awesomerc: raise client when awful.client.focus.history.previous() is called

---
 awesomerc.lua.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/awesomerc.lua.in b/awesomerc.lua.in
index a4086a4..f040d1a 100644
--- a/awesomerc.lua.in
+++ b/awesomerc.lua.in
@@ -232,7 +232,7 @@ keybinding({ modkey, "Control" }, "k", function () awful.screen.focus(-1) end):a
 keybinding({ modkey, "Control" }, "space", awful.client.floating.toggle):add()
 keybinding({ modkey, "Control" }, "Return", function () if client.focus then client.focus:swap(awful.client.getmaster()) end end):add()
 keybinding({ modkey }, "o", awful.client.movetoscreen):add()
-keybinding({ modkey }, "Tab", awful.client.focus.history.previous):add()
+keybinding({ modkey }, "Tab", function () awful.client.focus.history.previous(); if client.focus then client.focus:raise() end end):add()
 keybinding({ modkey }, "u", awful.client.urgent.jumpto):add()
 keybinding({ modkey, "Shift" }, "r", function () if client.focus then client.focus:redraw() end end):add()
 
-- 
1.5.6.5

Reply via email to