mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Add right visual.
This commit is contained in:
parent
9dc6df2f01
commit
82b37eef10
1 changed files with 4 additions and 3 deletions
|
@ -605,6 +605,7 @@ int textbox_keypress ( textbox *tb, XEvent *ev )
|
|||
static void parse_color ( Visual *visual, Colormap colormap,
|
||||
const char *bg, XftColor *color )
|
||||
{
|
||||
printf("color: %s\n", bg);
|
||||
if ( bg == NULL ) {
|
||||
return;
|
||||
}
|
||||
|
@ -660,11 +661,11 @@ void textbox_setup ( XVisualInfo *visual, Colormap colormap )
|
|||
visual_info = visual;
|
||||
target_colormap = colormap;
|
||||
|
||||
textbox_parse_string ( visual_info->visual, target_colormap,
|
||||
textbox_parse_string ( visual, target_colormap,
|
||||
config.color_normal, &( colors[NORMAL] ) );
|
||||
textbox_parse_string ( visual_info->visual, target_colormap,
|
||||
textbox_parse_string ( visual, target_colormap,
|
||||
config.color_urgent, &( colors[URGENT] ) );
|
||||
textbox_parse_string ( visual_info->visual, target_colormap,
|
||||
textbox_parse_string ( visual, target_colormap,
|
||||
config.color_active, &( colors[ACTIVE] ) );
|
||||
#if 1
|
||||
parse_color ( visual_info->visual, target_colormap, config.menu_bg, &( colors[NORMAL].bg ) );
|
||||
|
|
Loading…
Reference in a new issue