awful.menu: Handle themes without border_width

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2012-11-25 19:17:27 +01:00
parent fa6d996c41
commit fd1e751919
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ local function load_theme(a, b)
ret.border = a.border_color or b.menu_border_color or b.border_normal or ret.border = a.border_color or b.menu_border_color or b.border_normal or
fallback.menu_border_color or fallback.border_normal fallback.menu_border_color or fallback.border_normal
ret.border_width= a.border_width or b.menu_border_width or b.border_width or ret.border_width= a.border_width or b.menu_border_width or b.border_width or
fallback.menu_border_width or fallback.border_width fallback.menu_border_width or fallback.border_width or 0
ret.fg_focus = a.fg_focus or b.menu_fg_focus or b.fg_focus or ret.fg_focus = a.fg_focus or b.menu_fg_focus or b.fg_focus or
fallback.menu_fg_focus or fallback.fg_focus fallback.menu_fg_focus or fallback.fg_focus
ret.bg_focus = a.bg_focus or b.menu_bg_focus or b.bg_focus or ret.bg_focus = a.bg_focus or b.menu_bg_focus or b.bg_focus or