On 11-01-09 06:12 PM, Adrian C. wrote:
On Mon, 10 Jan 2011, Adrian C. wrote:

On Mon, 10 Jan 2011, Adrian C. wrote:

On Sun, 9 Jan 2011, Blacklemon67 wrote:

Is this by fault of the loop?
Well not if you aren't constantly triggering the arrange.
Also the code can be smarter and perform less actions, for starters is
something already above or not? But I don't care for it in my rc.lua.
Bleh, forgot something again. I do care about it if someone can do it
with less lines. CC me the code please :)

I nestled the code inside the unfocus signal instead:

client.add_signal("unfocus", function(c)
    c.border_color = beautiful.border_normal
    if   awful.client.floating.get(c) or layout == "floating"
        then if not c.fullscreen then c.above       =  true  end
        else                          c.above       =  false end
end)

--
To unsubscribe, send mail to [email protected].

Reply via email to