diff options
author | Jerzi Kaminsky <[email protected]> | 2017-04-15 17:13:28 +0300 |
---|---|---|
committer | Jerzi Kaminsky <[email protected]> | 2017-04-16 17:09:53 +0300 |
commit | cf5e764c7f69bdce8dd76cb0d6c464b7f245ef94 (patch) | |
tree | 6431853157a586443d0a0a8a9a3190db44e09659 /sway/commands.c | |
parent | edb8075ae0c0986fb168b464b05e0b54537f8f30 (diff) |
Disambiguate get_*_policy() and get_*_policy_mask()
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index 17c7d717..4d7af301 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -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); } |