mirror of
https://github.com/NickHu/sway
synced 2024-12-29 22:23:46 +01:00
13 lines
409 B
C
13 lines
409 B
C
#include "log.h"
|
|
#include "sway/commands.h"
|
|
#include "sway/config.h"
|
|
|
|
struct cmd_results *cmd_new_float(int argc, char **argv) {
|
|
sway_log(SWAY_INFO, "Warning: new_float is deprecated. "
|
|
"Use default_floating_border instead.");
|
|
if (config->reading) {
|
|
config_add_swaynag_warning("new_float is deprecated. "
|
|
"Use default_floating_border instead.");
|
|
}
|
|
return cmd_default_floating_border(argc, argv);
|
|
}
|