summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-10 10:51:12 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-10 10:51:12 +0100
commit15159fb02332b33f2d239190e2233d41b63f8d6c (patch)
treecc8e623cb7bbaa01566e529c1ce80c9f77b1a531 /src/window.h
parentb4f74dc349f024ed44d4228501d500ebb113d146 (diff)
creating windows
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index 88be5f0..41a4eaa 100644
--- a/src/window.h
+++ b/src/window.h
@@ -6,6 +6,9 @@ struct eventloop_s;
typedef u32 window_id_t;
struct window_s {
+ struct eventloop_s *loop;
+ window_id_t id;
+
wl_surface_t surface;
xdg_surface_t xdg_surface;
xdg_toplevel_t xdg_toplevel;