From 8a640b5309d01c363ec0eff24d7f8d96c6f3e23e Mon Sep 17 00:00:00 2001 From: Riley Beckett Date: Fri, 10 Oct 2025 19:06:49 -0400 Subject: editorconfig --- .editorconfig | 7 +++++++ main.c | 2 +- state.h | 10 ++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .editorconfig create mode 100644 state.h 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 diff --git a/main.c b/main.c index 11f7c99..5fb14f5 100644 --- a/main.c +++ b/main.c @@ -1,5 +1,5 @@ #include int main() { - printf("hello world\n"); + } diff --git a/state.h b/state.h new file mode 100644 index 0000000..25af7fa --- /dev/null +++ b/state.h @@ -0,0 +1,10 @@ +#ifndef STATE_H_ +#define STATE_H_ +#include + +typedef struct { + struct wl_display* display; + struct wl_surface* surface; +} client_state; + +#endif // STATE_H_ -- cgit v1.2.3