Well this code worked great in 3.4 , but certainly not in 3.5..
anyone have updated version of this? would really like
this feature back...

it works now for dialog boxes (usually)
but I want it to work for windows that I manually change
to floating as well...

Any suggestions, much appreciated!



-- Evan LeCompte


On Tue, Dec 4, 2012 at 11:38 AM, Evan LeCompte <[email protected]> wrote:

> 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].
>>
>
>

Reply via email to