From d3dd7e5bae374cb890f80836d872229a37ef639f Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Sun, 27 May 2018 21:59:38 +1000 Subject: Rename view_get_type to view_get_shell --- sway/criteria.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sway/criteria.c') diff --git a/sway/criteria.c b/sway/criteria.c index 9317a180..dec5fed7 100644 --- a/sway/criteria.c +++ b/sway/criteria.c @@ -56,7 +56,7 @@ static bool criteria_matches_view(struct criteria *criteria, } if (criteria->shell) { - const char *shell = view_get_type(view); + const char *shell = view_get_shell(view); if (!shell || regex_cmp(shell, criteria->shell) != 0) { return false; } @@ -284,7 +284,7 @@ static char *get_focused_prop(enum criteria_token token) { value = view_get_instance(view); break; case T_SHELL: - value = view_get_type(view); + value = view_get_shell(view); break; case T_TITLE: value = view_get_class(view); -- cgit v1.2.3