mirror of
https://github.com/swaywm/sway.git
synced 2024-11-27 02:11:28 +00:00
Address review comments for output subcommands
This commit is contained in:
parent
5ea4a4d3ee
commit
51fa988be9
|
@ -35,6 +35,9 @@ struct cmd_results *cmd_output(int argc, char **argv) {
|
|||
config->handler_context.output_config = output;
|
||||
|
||||
while (argc > 0) {
|
||||
config->handler_context.leftovers.argc = 0;
|
||||
config->handler_context.leftovers.argv = NULL;
|
||||
|
||||
if (find_handler(*argv, output_handlers, sizeof(output_handlers))) {
|
||||
error = config_subcommand(argv, argc, output_handlers,
|
||||
sizeof(output_handlers));
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include "log.h"
|
||||
#include "stringop.h"
|
||||
|
||||
static char *bg_options[] = {
|
||||
static const char *bg_options[] = {
|
||||
"stretch",
|
||||
"center",
|
||||
"fill",
|
||||
|
|
Loading…
Reference in a new issue