From 36d12796644b296f300d9daf631f7702e1d81b86 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Sat, 11 Oct 2025 14:21:47 -0400 Subject: finish messing with wayland initialization --- main.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 9627cb5..a6e261d 100644 --- a/main.c +++ b/main.c @@ -14,14 +14,13 @@ int main() { return 0; } - // set up globals + // bind globals and roundtrip setup_registry_and_globals(&state); wl_display_roundtrip(state.display); - // create non global objects + // set up other objects and roundtrip + setup_seat(&state); create_surface(&state); - - // roundtrip to recieve the rest of the events wl_display_roundtrip(state.display); // set up graphics -- cgit v1.2.3