awful.menu: use actual wibox border width
commitb097266925129e6999bfeae6a3d51799fe723ddb
authorHiltjo Posthuma <hiltjo@codemadness.org>
Wed, 18 Nov 2009 13:22:50 +0000 (18 14:22 +0100)
committerJulien Danjou <julien@danjou.info>
Sat, 21 Nov 2009 09:48:10 +0000 (21 10:48 +0100)
tree571208276d540b8ca432c63774760d76352b5194
parenta56e1b11d326a108af6a05591faeda46e1b75340
awful.menu: use actual wibox border width

We check the wibox border width for inappropiate values now, if we set
border_width to a negative value (invalid) in our theme and draw it, the
actual border_width will be 0 so the menu will be drawn incorrectly.
This fixed this.

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
lib/awful/menu.lua.in