From c1af79532f7727110e75c3736899d998bc9840a5 Mon Sep 17 00:00:00 2001 From: Ian Fan Date: Tue, 7 Aug 2018 11:25:04 +0100 Subject: commands: add nop --- sway/commands/nop.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sway/commands/nop.c (limited to 'sway/commands') diff --git a/sway/commands/nop.c b/sway/commands/nop.c new file mode 100644 index 00000000..c12fe15a --- /dev/null +++ b/sway/commands/nop.c @@ -0,0 +1,5 @@ +#include "sway/commands.h" + +struct cmd_results *cmd_nop(int argc, char **argv) { + return cmd_results_new(CMD_SUCCESS, NULL, NULL); +} -- cgit v1.2.3