aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiley Beckett <rbeckettvt@gmail.com>2025-10-10 19:06:49 -0400
committerRiley Beckett <rbeckettvt@gmail.com>2025-10-10 19:06:49 -0400
commit8a640b5309d01c363ec0eff24d7f8d96c6f3e23e (patch)
tree8c9e4e989019038a01d4c82049fefb0bd682a5ec
parent704ec4107d39022abf76a86982601fd36ff467ff (diff)
editorconfig
-rw-r--r--.editorconfig7
-rw-r--r--main.c2
-rw-r--r--state.h10
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
diff --git a/main.c b/main.c
index 11f7c99..5fb14f5 100644
--- a/main.c
+++ b/main.c
@@ -1,5 +1,5 @@
#include <stdio.h>
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 <wayland-client.h>
+
+typedef struct {
+ struct wl_display* display;
+ struct wl_surface* surface;
+} client_state;
+
+#endif // STATE_H_