summaryrefslogtreecommitdiffstats
path: root/cmd-find-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-find-window.c')
-rw-r--r--cmd-find-window.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/cmd-find-window.c b/cmd-find-window.c
index bba1398f..e1d5536f 100644
--- a/cmd-find-window.c
+++ b/cmd-find-window.c
@@ -123,12 +123,6 @@ cmd_find_window_exec(struct cmd *self, struct cmd_ctx *ctx)
wp, str, &line);
}
- /*
- * If match_title isn't set we don't want to
- * bother checking the title, but that also
- * constitutes a failure to match so we still
- * want to abort.
- */
if (sres == NULL &&
(!(match_flags & CMD_FIND_WINDOW_BY_TITLE) ||
fnmatch(searchstr, wp->base.title, 0) != 0))