diff options
Diffstat (limited to 'src/window.h')
| -rw-r--r-- | src/window.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/window.h b/src/window.h index 38a61c0..88be5f0 100644 --- a/src/window.h +++ b/src/window.h @@ -2,6 +2,14 @@ #include "utils.h" +struct eventloop_s; typedef u32 window_id_t; -struct window_s {};
\ No newline at end of file +struct window_s { + wl_surface_t surface; + xdg_surface_t xdg_surface; + xdg_toplevel_t xdg_toplevel; +}; + +bool wayc_window_init(struct window_s *window, struct eventloop_s *loop); +void wayc_window_deinit(struct window_s *window); |
