-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 06.04.2011 20:39, Douglas K. Rand wrote:
> 
> Doug> When I put the gnome-panel on the bottom of the screen (I'm only
> Doug> using one gnome-panel) then Awesome won't cover the bottom third
> Doug> of the screen with tiled windows.
> 
> Stefano> It's a (sadly) well known bug in GNOME panel.
> 
> Sigh.  That exactly describes my problem. Any work arounds?

client.add_signal("property::struts", function(c)
  local struts = c:struts()
  if struts.bottom ~= 0 then
    local geom = c:geometry()
    struts.bottom = geom.height
    c:struts(struts)
  end
end)

No idea if it works, but I hope you get the idea.
(No, this shouldn't go into an endless loop because the new value will already
be available on the second call)

Cheers,
Uli

- -- 
The Angels have the phone box!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBCAAGBQJNnMZkAAoJECLkKOvLj8sGAbAIAJWOJdikJvk9ZMPPp3PwhR0e
GIrhGKBQip4UiZJ+2W/XCwWLYklsQ0dRClEPZB+muZTjxrYhuinJ2juhX8SUr92p
7rNg5fpOvW6EyuwzhG9+J6BDCKVxAeCok7C7lw+bqxGVX4bWwACS02TRh3xbjML3
HSWGsSx0efXvrKLO3eBsTKwCUNDGqXiPXCbpBTfejkaUVa7e4Q1q6Z1bqKe29qgh
bCi9yDAZUgAWbmlVaSzu7WxuoNtVtqgy254qw8bKTjd7Mj15A7mWYLk9IdqRB0N7
83JiVN780mnIwvGaGdxtr8HKXO6ym5s2YiXjiZQW8HPbZKEwixo3GewSkUjYcDU=
=Xuis
-----END PGP SIGNATURE-----

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Reply via email to