mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 11:21:28 +00:00
14 lines
385 B
C
14 lines
385 B
C
#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);
|
|
}
|