Prevent /new/ windows from taking focus

2013-06-02 Thread Hans Georg Schaathun
Dear all, I have tried googling this question, but all I get is false hits solving slightly different problems. Can someone help, please? How can I prevent newly created windows from stealing focus? The best tip I found in my search was to search for `manage' in rc.lua and comment out a

Re: Prevent /new/ windows from taking focus

2013-06-02 Thread Yang Haifeng
co-ask. If you find your solution privately, could you please send it to me? Thanks. 2013/6/2 Hans Georg Schaathun georg+...@schaathun.net Dear all, I have tried googling this question, but all I get is false hits solving slightly different problems. Can someone help, please? How can I

Re: Prevent /new/ windows from taking focus

2013-06-02 Thread Enric Morales
On 02 Jun 2013 12:50, Hans Georg Schaathun wrote: Dear all, Hey there! Basically, I think the only event which should cause a focus change is the mouse pointer entering the window. Then I think you can delete the focus = awful.client.focus.filter from the rules list. That rule

Re: Prevent /new/ windows from taking focus

2013-06-02 Thread Hans Georg Schaathun
Hi, On Sun, Jun 02, 2013 at 08:48:20PM +0200, Enric Morales wrote: Basically, I think the only event which should cause a focus change is the mouse pointer entering the window. Then I think you can delete the focus = awful.client.focus.filter I don't find that line, but I have

Re: Prevent /new/ windows from taking focus

2013-06-02 Thread Gabe Martin
i thought that was setting the clients current focus state, when the rules are applied, to the state defined for it by the filter.

[PATCH 1/8] Update LDoc configuration: enable Markdown

2013-06-02 Thread Ignas Anikevicius (gns_ank)
Enable Markdown and write some exception rules, so that we do not have empty documentation pages about modules which nobody wants to read about (like awful.dbus). Signed-off-by: Ignas Anikevicius (gns_ank) anikevic...@gmail.com --- config.ld.in | 23 +-- 1 file changed, 21

[PATCH 2/8] CAPI docs: convert HTML to Markdown.

2013-06-02 Thread Ignas Anikevicius (gns_ank)
This is one of the first of many changes to documentation. We first start with the core modules. Signed-off-by: Ignas Anikevicius (gns_ank) anikevic...@gmail.com --- luadoc/client.lua | 6 +++--- luadoc/keygrabber.lua | 29 ++--- 2 files changed, 17 insertions(+), 18

[PATCH 4/8] Fix drawable docs.

2013-06-02 Thread Ignas Anikevicius (gns_ank)
Here I made some refactoring on the drawable side. Not much was needed. in this stage. Signed-off-by: Ignas Anikevicius (gns_ank) anikevic...@gmail.com --- lib/wibox/drawable.lua.in | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/wibox/drawable.lua.in

[PATCH 8/8] Beatiful docs became more beautiful.

2013-06-02 Thread Ignas Anikevicius (gns_ank)
This is the same kind of refactoring as awful faced. Signed-off-by: Ignas Anikevicius (gns_ank) anikevic...@gmail.com --- lib/beautiful.lua.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/beautiful.lua.in b/lib/beautiful.lua.in index cf91bfd..b1f4ff4 100644 ---