From 5d5e9a1f02eb92ea136088d618fe6bafff36d5bd Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Tue, 30 May 2023 00:35:33 +0200 Subject: Make CherryWindow a CherryWidget child --- src/window.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/window.h b/src/window.h index e32b258..a24b237 100644 --- a/src/window.h +++ b/src/window.h @@ -7,9 +7,8 @@ #include "event.h" typedef struct CherryWindow { - char *title; - int x, y; - int visible; + CherryWidget base; + char *title; /* Xlib stuff */ Window window_handler; -- cgit v1.2.3