diff options
Diffstat (limited to 'include/sway/commands.h')
-rw-r--r-- | include/sway/commands.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index 964b3661..2746ef28 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -46,8 +46,8 @@ enum expected_args { | |||
46 | struct cmd_results *checkarg(int argc, const char *name, | 46 | struct cmd_results *checkarg(int argc, const char *name, |
47 | enum expected_args type, int val); | 47 | enum expected_args type, int val); |
48 | 48 | ||
49 | struct cmd_handler *find_handler(char *line, struct cmd_handler *cmd_handlers, | 49 | const struct cmd_handler *find_handler(char *line, |
50 | size_t handlers_size); | 50 | const struct cmd_handler *cmd_handlers, size_t handlers_size); |
51 | 51 | ||
52 | /** | 52 | /** |
53 | * Parse and executes a command. | 53 | * Parse and executes a command. |
@@ -68,7 +68,7 @@ struct cmd_results *config_command(char *command, char **new_block); | |||
68 | * Parse and handle a sub command | 68 | * Parse and handle a sub command |
69 | */ | 69 | */ |
70 | struct cmd_results *config_subcommand(char **argv, int argc, | 70 | struct cmd_results *config_subcommand(char **argv, int argc, |
71 | struct cmd_handler *handlers, size_t handlers_size); | 71 | const struct cmd_handler *handlers, size_t handlers_size); |
72 | /* | 72 | /* |
73 | * Parses a command policy rule. | 73 | * Parses a command policy rule. |
74 | */ | 74 | */ |
@@ -112,6 +112,7 @@ sway_cmd cmd_border; | |||
112 | sway_cmd cmd_client_noop; | 112 | sway_cmd cmd_client_noop; |
113 | sway_cmd cmd_client_focused; | 113 | sway_cmd cmd_client_focused; |
114 | sway_cmd cmd_client_focused_inactive; | 114 | sway_cmd cmd_client_focused_inactive; |
115 | sway_cmd cmd_client_focused_tab_title; | ||
115 | sway_cmd cmd_client_unfocused; | 116 | sway_cmd cmd_client_unfocused; |
116 | sway_cmd cmd_client_urgent; | 117 | sway_cmd cmd_client_urgent; |
117 | sway_cmd cmd_client_placeholder; | 118 | sway_cmd cmd_client_placeholder; |
@@ -282,7 +283,9 @@ sway_cmd output_cmd_dpms; | |||
282 | sway_cmd output_cmd_enable; | 283 | sway_cmd output_cmd_enable; |
283 | sway_cmd output_cmd_max_render_time; | 284 | sway_cmd output_cmd_max_render_time; |
284 | sway_cmd output_cmd_mode; | 285 | sway_cmd output_cmd_mode; |
286 | sway_cmd output_cmd_modeline; | ||
285 | sway_cmd output_cmd_position; | 287 | sway_cmd output_cmd_position; |
288 | sway_cmd output_cmd_render_bit_depth; | ||
286 | sway_cmd output_cmd_scale; | 289 | sway_cmd output_cmd_scale; |
287 | sway_cmd output_cmd_scale_filter; | 290 | sway_cmd output_cmd_scale_filter; |
288 | sway_cmd output_cmd_subpixel; | 291 | sway_cmd output_cmd_subpixel; |