mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
Disambiguate get_*_policy() and get_*_policy_mask()
This commit is contained in:
parent
edb8075ae0
commit
cf5e764c7f
6 changed files with 17 additions and 17 deletions
|
|
@ -437,7 +437,7 @@ struct cmd_results *handle_command(char *_exec, enum command_context context) {
|
|||
free_argv(argc, argv);
|
||||
goto cleanup;
|
||||
}
|
||||
if (!(get_command_policy(argv[0]) & context)) {
|
||||
if (!(get_command_policy_mask(argv[0]) & context)) {
|
||||
if (results) {
|
||||
free_cmd_results(results);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue