On Sat, Oct 9, 2010 at 5:14 AM, Uli Schlachter <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Am 08.10.2010 13:37, Renato Botelho wrote: >> I have a small issue that is bugging me for a long time and I >> couldn't find a solution. When i open a non-float window and >> convert it to float it doesn't respect wibox. If I start the xterm >> windows with the float bit already set it does. >> >> Here you can see 3 screenshots to understand better what >> i'm talking about. The first i opened a tilled xterm: >> >> http://people.freebsd.org/~garga/screenshots/2010-10-08-082917_1280x1024_scrot.png >> >> And after, i float this window (modkey + ctrl + space) >> >> http://people.freebsd.org/~garga/screenshots/2010-10-08-082927_1280x1024_scrot.png >> >> And here if I open a xterm set set to open always float: >> >> http://people.freebsd.org/~garga/screenshots/2010-10-08-083542_1280x1024_scrot.png >> >> Any idea how to fix it? >> >> Thanks > > In your "manage" signal, you have a call to awful.placement.no_overlap(c) > which > makes sure that the client doesn't end up over the wibox. > > So mod+ctrl+space right now does this: > > awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle), > > let's change this into: > > awful.key({ modkey, "Control" }, "space", function(c) > awful.client.floating.toggle(c) > if awful.client.floating.get(c) then > awful.placement.no_overlap(c) > end > end), > > (untested)
Awesome!!! It worked perfectly, thank you! -- Renato Botelho -- To unsubscribe, send mail to [email protected].
