diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-09-29 08:32:09 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-09-29 08:40:25 +0200 |
commit | ebffe5503d1709f00d4d7d85f0db4f8fe1dc4f42 (patch) | |
tree | c35dca4f2e9abeb271eeca3560b2ef83d3ff2831 /source/mode.c | |
parent | a1ea3e268f92e9edcce6a794d98929effb036675 (diff) |
Implement support for specifying negated match
- Prepending - inverts the matching result.
- Fix logic window/drun browser.
- Breaks API as argument token_match callback changed.
- Update tests.
Fixes: #665
Diffstat (limited to 'source/mode.c')
-rw-r--r-- | source/mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/mode.c b/source/mode.c index c8ccfa68..28552e11 100644 --- a/source/mode.c +++ b/source/mode.c @@ -102,7 +102,7 @@ ModeMode mode_result ( Mode *mode, int menu_retv, char **input, unsigned int sel return mode->_result ( mode, menu_retv, input, selected_line ); } -int mode_token_match ( const Mode *mode, GRegex **tokens, unsigned int selected_line ) +int mode_token_match ( const Mode *mode, rofi_int_matcher **tokens, unsigned int selected_line ) { g_assert ( mode != NULL ); g_assert ( mode->_token_match != NULL ); |