aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-08-07 11:25:04 +0100
committerIan Fan <ianfan0@gmail.com>2018-08-18 15:50:26 +0100
commitc1af79532f7727110e75c3736899d998bc9840a5 (patch)
tree49667e2bd7b31a5c245fdc5b885c3af054b3e383 /sway/commands
parent744724b3cb28c2ee9d265dcbf78b1cbf2b2e3fef (diff)
downloadsway-c1af79532f7727110e75c3736899d998bc9840a5.tar.xz
commands: add nop
Diffstat (limited to 'sway/commands')
-rw-r--r--sway/commands/nop.c5
1 files changed, 5 insertions, 0 deletions
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);
+}