This works lovely! thank you for this tip Vivian. Modal dialog boxes (which expect a titlebar with close button to be present) have been annoying me for years now!
-- Evan LeCompte On Thu, Nov 15, 2012 at 5:44 AM, Vivian Brégier <[email protected]>wrote: > 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]. >
