From 7b530bf4487f36273938ffd7236dad8a7629790a Mon Sep 17 00:00:00 2001 From: Will McKinnon Date: Mon, 15 Aug 2022 00:54:07 -0400 Subject: Revert "merge sway master" This reverts commit 7460d9f565092836f81b917a040caff57142d91a. --- include/sway/criteria.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include/sway/criteria.h') diff --git a/include/sway/criteria.h b/include/sway/criteria.h index 59f57f94..ad8610cd 100644 --- a/include/sway/criteria.h +++ b/include/sway/criteria.h @@ -1,8 +1,7 @@ #ifndef _SWAY_CRITERIA_H #define _SWAY_CRITERIA_H -#define PCRE2_CODE_UNIT_WIDTH 8 -#include +#include #include "config.h" #include "list.h" #include "tree/view.h" @@ -16,13 +15,13 @@ enum criteria_type { }; enum pattern_type { - PATTERN_PCRE2, + PATTERN_PCRE, PATTERN_FOCUSED, }; struct pattern { enum pattern_type match_type; - pcre2_code *regex; + pcre *regex; }; struct criteria { -- cgit v1.2.3