diff options
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) { | |||
437 | free_argv(argc, argv); | 437 | free_argv(argc, argv); |
438 | goto cleanup; | 438 | goto cleanup; |
439 | } | 439 | } |
440 | if (!(get_command_policy(argv[0]) & context)) { | 440 | if (!(get_command_policy_mask(argv[0]) & context)) { |
441 | if (results) { | 441 | if (results) { |
442 | free_cmd_results(results); | 442 | free_cmd_results(results); |
443 | } | 443 | } |