diff options
author | okan <okan> | 2012-11-14 21:12:24 +0000 |
---|---|---|
committer | okan <okan> | 2012-11-14 21:12:24 +0000 |
commit | 587d623e4a0a2173b5b0596107206a6ce1be99db (patch) | |
tree | 177f2085c38969585c72df9a561f1e5d51079b34 /menu.c | |
parent | 28224ff830f2841fd9481e33894b29f3c156f5aa (diff) | |
download | cwm-587d623e4a0a2173b5b0596107206a6ce1be99db.tar.gz cwm-587d623e4a0a2173b5b0596107206a6ce1be99db.tar.xz cwm-587d623e4a0a2173b5b0596107206a6ce1be99db.zip |
tab-complete buglet fix: once exec_path is completed, allow for
subsequent completion; from Alexander Polakov
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/menu.c b/menu.c index b6d0724..e2b6e0e 100644 --- a/menu.c +++ b/menu.c @@ -299,12 +299,10 @@ menu_handle_key(XEvent *e, struct menu_ctx *mc, struct menu_q *menuq, if ((mi = TAILQ_FIRST(resultq)) != NULL) { /* * - We are in exec_path menu mode - * - There's only one result * - It is equal to the input * We got a command, launch the file menu */ if ((mc->flags & CWM_MENU_FILE) && - (TAILQ_NEXT(mi, resultentry) == NULL) && (strncmp(mc->searchstr, mi->text, strlen(mi->text))) == 0) return (menu_complete_path(mc)); |