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

Gregor Best wrote:
> On Thu, Jun 25, 2009 at 03:26:48PM +0200, Uli Schlachter wrote:
>>> Subject: [PATCH 07/12] invaders: add support for widget layouts
>>> diff --git a/lib/invaders.lua.in b/lib/invaders.lua.in
>>> +    gamedata.highscore.window:geometry(gamedata.highscore.table:extents())
>>> +    gamedata.highscore.window:geometry({ x = gamedata.field.x + 
>>> math.floor(gamedata.field.w / 2) - 100,
>>> +                                         y = gamedata.field.y + 
>>> math.floor(gamedata.field.h / 2) - 55 })
>> Uhm, drop that first :geometry call?
> 
> That's not possible. The first call to :geometry sets the right width
> and height for the wibox and the second call sets the X and Y
> coordinates. If you can think of an easier way, please let me know :)

  bla:geometry(awful.util.table.join(bla:extents(), { x = bla, y = bla })

On second thought... I suddenly like your version more. ;)

Thanks for agreeing with my comments and just so that you dont forget:
In the default config with sky theme, the awesome menu's text is a little 
misplaced.

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.9 (GNU/Linux)

iQEcBAEBCAAGBQJKQ60PAAoJECLkKOvLj8sGHpEH/AkCXmWzU8AMc+z+p9zvBlYM
iq3mMklkM68JpW+kdGPqmgWTmEdiVx0ry7BZ1sKA2F5/gl0IhiesO+n7MYUkCrT0
p8G19lUHW+Dqu/UMGGKRQ9Qryk4tFWxV54C+mjs5RzNrZNbKL6yVAbnRrJx4Aqmn
XXMBo5/E+/F/TqXqRACYMHlgUnnQHckSUr13pOGPW9d9zIfjI5QLIubcg2YN3c6M
trVhKQGj0UooM96VNztMnGeJqXGkCly9EuOwJNnpTlFRYFf+1/el6D4LyD6kDtmy
3B/VDSB3tXC67mMCYKn1W6k4uA8u+0M0n+v3pHVK3z9ND3gcz18nUnNxSeJd6cY=
=U64I
-----END PGP SIGNATURE-----

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

Reply via email to