1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-07-31 21:59:25 -04:00

Add active/urgent color.

This commit is contained in:
QC 2015-04-03 18:40:07 +02:00
parent 957ffe5fcf
commit f2c4aff37c
5 changed files with 27 additions and 20 deletions

View file

@ -523,10 +523,10 @@ static const char *mgrv ( unsigned int selected_line, void *sw, G_GNUC_UNUSED in
{
SwitcherModePrivateData *rmpd = ( (Switcher *) sw )->private_data;
if ( window_client ( display, rmpd->ids->array[selected_line] )->demands ) {
*state |= ITALIC;
*state |= URGENT;
}
if ( window_client ( display, rmpd->ids->array[selected_line] )->active ) {
*state |= BOLD;
*state |= ACTIVE;
}
return rmpd->cmd_list[selected_line];
}