aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/raise_floating.c
blob: 930299a12c576e392c9354aa07adab9ac97d6030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <string.h>
#include <strings.h>
#include "sway/commands.h"
#include "util.h"

struct cmd_results *cmd_raise_floating(int argc, char **argv) {
	struct cmd_results *error = NULL;
	if ((error = checkarg(argc, "raise_floating", EXPECTED_EQUAL_TO, 1))) {
		return error;
	}
	config->raise_floating =
		parse_boolean(argv[0], config->raise_floating);
	return cmd_results_new(CMD_SUCCESS, NULL, NULL);
}