aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2025-10-11 14:21:47 -0400
committerJack Jamison <jackqjamison@gmail.com>2025-10-11 14:21:47 -0400
commit36d12796644b296f300d9daf631f7702e1d81b86 (patch)
treec9da61a4686dcc3dadc31d6ea879ef0364d0c6c7 /main.c
parentc5dab928775cb86cc11b7e3a8493c3432e2df201 (diff)
finish messing with wayland initialization
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 3 insertions, 4 deletions
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