I have this in my rc.lua, and it is working fine.
I believe it came from the default config…
It binds a signal handler to the "floating" property

-- {{{ Signals
-- Signal function to execute when a new client appears.
client.add_signal("manage", function (c, startup)
    -- Add a titlebar
    processfloating = function(c)
        if awful.client.floating.get(c) then
            awful.titlebar.add(c, { modkey = modkey, height = 16})
        else
            awful.titlebar.remove(c)
        end
    end

    processfloating(c)
    c:add_signal("property::floating", processfloating)

[…]

end)


2012/11/15 Andre Klärner <[email protected]>:
> On Wed, Nov 14, 2012 at 03:20:21AM +0100, Adrian C. wrote:
>> On Mon, 12 Nov 2012, Yuri D'Elia wrote:
>> > It would be even nicer though if floating/unfloating a window in a
>> > tile would also handle (hide/show) the titlebar properly
>>
>> Just update the floating toggle keybinding.
>
> But what if the client gets set to floating by a rule or by itself? Than
> that won't work, right?
>
> --
> Andre Klärner



-- 
Vivian Brégier
http://www.are-ata.org/Vivian.vcf

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

Reply via email to