mirror of
https://github.com/swaywm/sway.git
synced 2025-11-19 06:59:52 -05:00
Rename view_get_type to view_get_shell
This commit is contained in:
parent
484cc189e9
commit
d3dd7e5bae
3 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue