1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-02-10 15:44:41 -05:00

Make workspace name also searchable

This commit is contained in:
Dave Davenport 2016-12-26 16:23:55 +01:00
parent ee310c8470
commit aa08c8ea78

View file

@ -354,6 +354,9 @@ static int window_match ( const Mode *sw, GRegex **tokens, unsigned int index )
if ( !test && c->name != NULL && c->name[0] != '\0' ) {
test = token_match ( ftokens, c->name );
}
if ( !test && c->wmdesktopstr != NULL && c->wmdesktopstr[0] != '\0' ) {
test = token_match ( ftokens, c->wmdesktopstr );
}
if ( test == 0 ) {
match = 0;