-----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)
Cheers,
Uli
- --
"Do you know that books smell like nutmeg or some spice from a foreign land?"
-- Faber in Fahrenheit 451
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQEcBAEBCAAGBQJMsCRHAAoJECLkKOvLj8sGBc8H+wZrt0x4Nk4V//FF5wukhU/y
VqP3cMik0Y/I8yj3wFnVs8OLivXNrdYpghKbsMKuHRVeKyaa1+uKL4NyI6kRWkSC
NCjijHqi4KjbJgwcYRczae0zwWtZK+uZHI++Nx+n+KAQABK+p+xMbD8Hv+uBbE/W
hQ787XkrPjNGClQzd3tzT6OFSa4nPpiG+s9obiwGx5f1FT776rGGwN4xlq8dXVcj
40Kmbv5h3jrwVle4H/ntP5SypbQM3GRnTubgv9Di41WjGSQUvF0ouc7ClZHlLGdl
cD3dRJ+5NSW1euXv4CnwGb+h8U0oVZuNHpozHw5jsrauSn+n0MEqQ0ddEhZQwyY=
=iY6G
-----END PGP SIGNATURE-----
--
To unsubscribe, send mail to [email protected].