aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-30 00:35:33 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-30 00:35:33 +0200
commit5d5e9a1f02eb92ea136088d618fe6bafff36d5bd (patch)
tree9f493a423d20ce01d8ba1650a55b5daff79c89e1
parent975f8d74fef6de5dac175d24d252d42a5f87ca23 (diff)
downloadcherry-5d5e9a1f02eb92ea136088d618fe6bafff36d5bd.tar.gz
cherry-5d5e9a1f02eb92ea136088d618fe6bafff36d5bd.zip
Make CherryWindow a CherryWidget child
-rw-r--r--src/window.h5
1 files 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;