Hmm thats a very clever idea nathan, I HATE dialogue windows that don't have
their own close button, so having the titlebar on those would be quite
useful indeed.

do you have use_titlebar = false in your config?

Otherwise I don't know why this doesn't work with those apps, but I will try
this and test it.

On Wed, Jan 21, 2009 at 3:40 PM, Nathan Huesken <[email protected]>wrote:

> Hi,
>
> In my config, I have this function to enable titlebar for floating clients
> and disable it for non-floating clients:
>
> function set_floating_props(c)
>   if awful.client.floating.get(c) then
>       awful.titlebar.add(c, {modkey = "Mod1"} )
>   else
>       awful.titlebar.remove(c)
>   end
> end
>
> Then I have a key which changes the floating state via:
>
> function client_floating_toggle(c)
>   awful.client.floating.toggle(c)
>   set_floating_props(c)
> end
>
> And the set_floating props is also called when a new client appears (in the
> manage_hook).
> This works most of the time, except for 2 applications, these are firefox
> and soffice (openoffice).
>
> - These application have a titlebar when they start.
> - They can not be moved or rezised.
> - The client_floating_toggle function has no effect on them
> - They are always "fullscreen", and not integrated in the tile-layout
>
> Is this a bug? What could be wrong?
> Thanks!
> Nathan
>
> --
> To unsubscribe, send mail to [email protected].
>

Reply via email to