mirror of
https://github.com/davatorium/rofi.git
synced 2025-07-31 21:59:25 -04:00
[Theme] Add alpha channel to highlight color.
Fixes: 1033
This commit is contained in:
parent
5a457022e9
commit
c4a4243616
1 changed files with 7 additions and 0 deletions
|
@ -432,6 +432,13 @@ PangoAttrList *helper_token_match_get_pango_attr ( RofiHighlightColorStyle th, r
|
||||||
pa->start_index = start;
|
pa->start_index = start;
|
||||||
pa->end_index = end;
|
pa->end_index = end;
|
||||||
pango_attr_list_insert ( retv, pa );
|
pango_attr_list_insert ( retv, pa );
|
||||||
|
|
||||||
|
if ( th.color.alpha < 1.0 ){
|
||||||
|
pa = pango_attr_foreground_alpha_new(th.color.alpha*65535);
|
||||||
|
pa->start_index = start;
|
||||||
|
pa->end_index = end;
|
||||||
|
pango_attr_list_insert ( retv, pa );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
g_match_info_next ( gmi, NULL );
|
g_match_info_next ( gmi, NULL );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue