diff options
| author | Jari Vetoniemi <mailroxas@gmail.com> | 2015-01-20 18:42:29 +0200 | 
|---|---|---|
| committer | Jari Vetoniemi <mailroxas@gmail.com> | 2015-01-20 18:42:29 +0200 | 
| commit | eb46ba7bdce0d7a4efbb0a3359e8d6a99c14a3bc (patch) | |
| tree | 0d7834c6ebe6addafded2e40d669e2750c6c5f4b /lib | |
| parent | 7d019e767b8dc3e69d6f17ad4f4d69e3948257e1 (diff) | |
| download | bemenu-eb46ba7bdce0d7a4efbb0a3359e8d6a99c14a3bc.tar.gz bemenu-eb46ba7bdce0d7a4efbb0a3359e8d6a99c14a3bc.tar.bz2 bemenu-eb46ba7bdce0d7a4efbb0a3359e8d6a99c14a3bc.zip  | |
Remove bg color option as you never see the real bg anyways.
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);  | 
