aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/nop.c
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-08-07 11:25:04 +0100
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-08-18 15:50:26 +0100
commitc1af79532f7727110e75c3736899d998bc9840a5 (patch)
tree49667e2bd7b31a5c245fdc5b885c3af054b3e383 /sway/commands/nop.c
parentMerge pull request #2473 from RyanDwyer/iterators-per-type (diff)
downloadsway-c1af79532f7727110e75c3736899d998bc9840a5.tar.gz
sway-c1af79532f7727110e75c3736899d998bc9840a5.tar.zst
sway-c1af79532f7727110e75c3736899d998bc9840a5.zip
commands: add nop
Diffstat (limited to 'sway/commands/nop.c')
-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 @@
1#include "sway/commands.h"
2
3struct cmd_results *cmd_nop(int argc, char **argv) {
4 return cmd_results_new(CMD_SUCCESS, NULL, NULL);
5}