-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

the attached patch was "heavily inspired" (=copied) from the following wiki 
change:

http://awesome.naquadah.org/w/index.php?title=Awful.menu&diff=next&oldid=2344

By the time you read this, I'll most likely have that edit reverted, but the
idea is still worth a patch. :)

Uli
- -- 
- - Buck, when, exactly, did you lose your mind?
- - Three months ago. I woke up one morning married to a pineapple.
  An ugly pineapple... But I loved her!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBCAAGBQJL1vU5AAoJECLkKOvLj8sGGQYIAJgiJDsxuqka42Akd2iXidTQ
tYvDy4O8U+DSCFdsXPW0wbIxSg3cckDfKJ4HdjKB5G39OgWZ22AxwBVrTJekZck+
lkBKqlt6ujJZ2Y9GKX+I7i2VBOUlEpE71r/48BEX4JKbAa5h6NWgIId0STt+2wFO
IK+C6ciQ4dh8SeUBGhcv7e9Ih+zTsDKsJ7816cGyqzLa49PsMprrwQ9FWdqukSFC
qcJy5mxvov+A8vc8Urr06vryURyw19hkBMScHPMW2RMLnl8Kn6ZcUCATQIv92K6/
8l4zWNQR/LQHNeV2BTGPfDka8KsSvQTW33N+09i+27cd4Cy9VtgqWbvQ5TBAHOQ=
=xIzE
-----END PGP SIGNATURE-----
>From 2e463dfc2c51e982166a07488152ba9e9b4223e5 Mon Sep 17 00:00:00 2001
From: Uli Schlachter <[email protected]>
Date: Tue, 27 Apr 2010 16:28:02 +0200
Subject: [PATCH] awful.menu.clients: Raise the newly focused client

Raising it makes it more obvious that the focus was really changed and makes
working with the client easier since it's, well, raised.

Signed-off-by: Uli Schlachter <[email protected]>
---
 lib/awful/menu.lua.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/awful/menu.lua.in b/lib/awful/menu.lua.in
index 77bb89e..772f214 100644
--- a/lib/awful/menu.lua.in
+++ b/lib/awful/menu.lua.in
@@ -283,6 +283,7 @@ function clients(menu, args)
                                       tags.viewmore(c:tags(), c.screen)
                                   end
                                   capi.client.focus = c
+                                  c:raise()
                               end,
                               c.icon }
     end
-- 
1.7.0

Attachment: 0001-awful.menu.clients-Raise-the-newly-focused-client.patch.sig
Description: Binary data

Reply via email to