awful.menu: Handle themes without border_width
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
fa6d996c41
commit
fd1e751919
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue