aboutsummaryrefslogtreecommitdiffstats
path: root/swaymsg/main.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-11-26 12:41:24 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-11-26 12:41:24 -0500
commitd69cbeabc0d0f59847e0118f61ad7e4d76fc95e4 (patch)
treecdb01ed4a7a89c25b7018d8cb939369b74d3ceeb /swaymsg/main.c
parentMerge pull request #261 from christophgysin/exec (diff)
downloadsway-d69cbeabc0d0f59847e0118f61ad7e4d76fc95e4.tar.gz
sway-d69cbeabc0d0f59847e0118f61ad7e4d76fc95e4.tar.zst
sway-d69cbeabc0d0f59847e0118f61ad7e4d76fc95e4.zip
Add swaymsg subproject
Diffstat (limited to 'swaymsg/main.c')
-rw-r--r--swaymsg/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
new file mode 100644
index 00000000..824af0e6
--- /dev/null
+++ b/swaymsg/main.c
@@ -0,0 +1,11 @@
1#include <stdio.h>
2#include <stdlib.h>
3
4void sway_terminate(void) {
5 exit(1);
6}
7
8int main(int argc, const char **argv) {
9 printf("Hello world!");
10 return 0;
11}