diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bemenu.h | 1 | ||||
-rw-r--r-- | lib/menu.c | 1 | ||||
-rw-r--r-- | lib/renderers/cairo.h | 4 |
3 files changed, 1 insertions, 5 deletions
diff --git a/lib/bemenu.h b/lib/bemenu.h index 4010683..d91e695 100644 --- a/lib/bemenu.h +++ b/lib/bemenu.h @@ -202,7 +202,6 @@ enum bm_key { * @link ::bm_color BM_COLOR_LAST @endlink is provided for enumerating colors. */ enum bm_color { - BM_COLOR_BG, BM_COLOR_TITLE_BG, BM_COLOR_TITLE_FG, BM_COLOR_FILTER_BG, @@ -15,7 +15,6 @@ static const char *default_font = "Terminus 9"; * Default hexadecimal colors. */ static const char *default_colors[BM_COLOR_LAST] = { - "#121212", // BM_COLOR_BG "#121212", // BM_COLOR_TITLE_BG "#D81860", // BM_COLOR_TITLE_FG "#121212", // BM_COLOR_FILTER_BG diff --git a/lib/renderers/cairo.h b/lib/renderers/cairo.h index 662f788..c7b39b2 100644 --- a/lib/renderers/cairo.h +++ b/lib/renderers/cairo.h @@ -169,9 +169,7 @@ bm_cairo_paint(struct cairo *cairo, uint32_t width, uint32_t height, uint32_t ma memset(out_result, 0, sizeof(struct cairo_paint_result)); out_result->displayed = 1; - struct cairo_color c; - bm_cairo_color_from_menu_color(menu, BM_COLOR_BG, &c); - cairo_set_source_rgb(cairo->cr, c.r, c.g, c.b); + cairo_set_source_rgb(cairo->cr, 0, 0, 0); cairo_rectangle(cairo->cr, 0, 0, width, height); cairo_fill(cairo->cr); |