On Mon, Jul 13, 2009 at 11:23:27AM +0200, Julien Danjou wrote: > At 1247440481 time_t, Gregor Best wrote: > > Pardon me, that patch had some debug stuff left in it. I attached a > > version without that cruft. > > Pushed. > > Cheers,
I just noticed I made a quite huge mistake (thanks to jayzer in #awesome
for telling me). The call to :isvisible() failed because the capi. part
was missing. A fix is attached. Me break, me fix or something :)
--
GCS/IT/M d- s+:- a--- C++ UL+++ US UB++ P+++ L+++ E--- W+ N+ o--
K- w--- O M-- V PS+ PE- Y+ PGP+++ t+ 5 X+ R tv+ b++ DI+++ D+++ G+
e- h! r y+
Gregor Best
From a5c77e0533d854a8f4060232ea43b494963e561d Mon Sep 17 00:00:00 2001 From: Gregor Best <[email protected]> Date: Tue, 14 Jul 2009 19:59:29 +0200 Subject: [PATCH] awful.layout: fix call to :isvisible() Signed-off-by: Gregor Best <[email protected]> --- lib/awful/layout/init.lua.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/awful/layout/init.lua.in b/lib/awful/layout/init.lua.in index d730a0b..6cd5734 100644 --- a/lib/awful/layout/init.lua.in +++ b/lib/awful/layout/init.lua.in @@ -146,7 +146,7 @@ hooks.tags.register(function(screen, tag, action) on_arrange(screen) end) hooks.tagged.register(function(c, tag) if not tag.screen then return end on_arrange(tag.screen) - if not capi.client.focus or not client.focus:isvisible() then + if not capi.client.focus or not capi.client.focus:isvisible() then local c = client.focus.history.get(tag.screen, 0) if c then capi.client.focus = c end end -- 1.6.3.3
pgpFPiPVasVq2.pgp
Description: PGP signature
