FreeBSD Bugzilla – Attachment 102658 Details for
Bug 142474
[PATCH] x11-wm/awesome: Use correct patch for FS#664
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
awesome-3.4.3_1.patch
awesome-3.4.3_1.patch (text/plain), 3.31 KB, created by
Renato Botelho
on 2010-01-08 18:30:03 UTC
(
hide
)
Description:
awesome-3.4.3_1.patch
Filename:
MIME Type:
Creator:
Renato Botelho
Created:
2010-01-08 18:30:03 UTC
Size:
3.31 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/x11-wm/awesome/Makefile,v >retrieving revision 1.39 >diff -u -u -r1.39 Makefile >--- Makefile 7 Jan 2010 10:18:16 -0000 1.39 >+++ Makefile 8 Jan 2010 18:26:21 -0000 >@@ -7,6 +7,7 @@ > > PORTNAME= awesome > PORTVERSION= 3.4.3 >+PORTREVISION= 1 > CATEGORIES= x11-wm > MASTER_SITES= http://awesome.naquadah.org/download/ \ > http://redundancy.redundancy.org/mirror/ >Index: files/patch-lib__awful__rules.lua.in >=================================================================== >RCS file: /home/pcvs/ports/x11-wm/awesome/files/patch-lib__awful__rules.lua.in,v >retrieving revision 1.1 >diff -u -u -r1.1 patch-lib__awful__rules.lua.in >--- files/patch-lib__awful__rules.lua.in 21 Dec 2009 10:36:53 -0000 1.1 >+++ files/patch-lib__awful__rules.lua.in 8 Jan 2010 18:26:21 -0000 >@@ -1,23 +1,30 @@ > --- lib/awful/rules.lua.in > +++ lib/awful/rules.lua.in >-@@ -89,7 +89,9 @@ end >- >- --- Apply rules to a client. >- -- @param c The client. >--function apply(c) >-+-- @param startup Executed at startup ? (optional, default is false) >-+function apply(c, startup) >-+ startup = startup or false >- local props = {} >- local callbacks = {} >- for _, entry in ipairs(rules) do >-@@ -129,6 +131,9 @@ function apply(c) >- callback(c) >+@@ -112,7 +112,7 @@ function apply(c) >+ if property == "floating" then >+ aclient.floating.set(c, value) >+ elseif property == "tag" then >+- aclient.movetotag(value, c) >++ c:tags({ value }) >+ elseif property == "switchtotag" and value and props.tag then >+ atag.viewonly(props.tag) >+ elseif property == "height" or property == "width" or >+@@ -127,6 +127,11 @@ function apply(c) >+ end > end > >-+ -- Apply tags. >-+ atag.withcurrent(c, startup) >++ -- If untagged, stick the client on the current one. >++ if #c:tags() == 0 then >++ atag.withcurrent(c, startup) >++ end > + >- -- Do this at last so we do not erase things done by the focus >- -- signal. >- if props.focus then >+ -- Apply all callbacks from matched rules. >+ for i, callback in pairs(callbacks) do >+ callback(c) >+@@ -140,5 +145,6 @@ function apply(c) >+ end >+ >+ client.add_signal("manage", apply) >++client.remove_signal("manage", atag.withcurrent) >+ >+ -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80 >Index: files/patch-lib__awful__tag.lua.in >=================================================================== >RCS file: /home/pcvs/ports/x11-wm/awesome/files/patch-lib__awful__tag.lua.in,v >retrieving revision 1.1 >diff -u -u -r1.1 patch-lib__awful__tag.lua.in >--- files/patch-lib__awful__tag.lua.in 21 Dec 2009 10:36:53 -0000 1.1 >+++ files/patch-lib__awful__tag.lua.in 8 Jan 2010 18:26:21 -0000 >@@ -1,6 +1,6 @@ > --- lib/awful/tag.lua.in > +++ lib/awful/tag.lua.in >-@@ -374,7 +374,6 @@ capi.client.add_signal("manage", function(c, startup) >+@@ -374,10 +374,11 @@ capi.client.add_signal("manage", function(c, startup) > c.screen = capi.mouse.screen > end > end >@@ -8,3 +8,8 @@ > c:add_signal("property::screen", withcurrent) > end) > >++capi.client.add_signal("manage", withcurrent) >++ >+ for s = 1, capi.screen.count() do >+ capi.screen[s]:add_signal("tag::history::update", history.update) >+ end
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 142474
: 102658