diff options
| -rw-r--r-- | .editorconfig | 7 | ||||
| -rw-r--r-- | main.c | 2 | ||||
| -rw-r--r-- | state.h | 10 |
3 files changed, 18 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..2cb277f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,7 @@ +root = true + +[*] +indent_style = tab +tab_width = 4 +trim_trailing_whitespace = true +insert_final_newline = true @@ -1,5 +1,5 @@ #include <stdio.h> int main() { - printf("hello world\n"); + } @@ -0,0 +1,10 @@ +#ifndef STATE_H_ +#define STATE_H_ +#include <wayland-client.h> + +typedef struct { + struct wl_display* display; + struct wl_surface* surface; +} client_state; + +#endif // STATE_H_ |
