View | Details | Raw Unified | Return to bug 141244
Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	awesome
8
PORTNAME=	awesome
9
PORTVERSION=	3.4.2
9
PORTVERSION=	3.4.2
10
PORTREVISION=	1
10
CATEGORIES=	x11-wm
11
CATEGORIES=	x11-wm
11
MASTER_SITES=	http://awesome.naquadah.org/download/ \
12
MASTER_SITES=	http://awesome.naquadah.org/download/ \
12
		http://redundancy.redundancy.org/mirror/
13
		http://redundancy.redundancy.org/mirror/
(-)files/patch-lib__awful__rules.lua.in (+23 lines)
Added Link Here
1
--- lib/awful/rules.lua.in
2
+++ lib/awful/rules.lua.in
3
@@ -89,7 +89,9 @@ end
4
 
5
 --- Apply rules to a client.
6
 -- @param c The client.
7
-function apply(c)
8
+-- @param startup Executed at startup ? (optional, default is false)
9
+function apply(c, startup)
10
+    startup = startup or false
11
     local props = {}
12
     local callbacks = {}
13
     for _, entry in ipairs(rules) do
14
@@ -129,6 +131,9 @@ function apply(c)
15
         callback(c)
16
     end
17
 
18
+    -- Apply tags.
19
+    atag.withcurrent(c, startup)
20
+
21
     -- Do this at last so we do not erase things done by the focus
22
     -- signal.
23
     if props.focus then
(-)files/patch-lib__awful__tag.lua.in (+10 lines)
Added Link Here
1
--- lib/awful/tag.lua.in
2
+++ lib/awful/tag.lua.in
3
@@ -374,7 +374,6 @@ capi.client.add_signal("manage", function(c, startup)
4
             c.screen = capi.mouse.screen
5
         end
6
     end
7
-    withcurrent(c, startup)
8
     c:add_signal("property::screen", withcurrent)
9
 end)
10
 

Return to bug 141244