aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/new_window.c
blob: e8caa4873295955c837ed88c320e0799e97bf86d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "log.h"
#include "sway/commands.h"
#include "sway/config.h"

struct cmd_results *cmd_new_window(int argc, char **argv) {
	sway_log(SWAY_INFO, "Warning: new_window is deprecated. "
		"Use default_border instead.");
	if (config->reading) {
		config_add_swaynag_warning("new_window is deprecated. "
			"Use default_border instead.");
	}
	return cmd_default_border(argc, argv);
}