From b6d3f5a78e3ac4e517608fe51e37d5a7a0e35f61 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Mon, 22 May 2023 00:24:36 +0200 Subject: Add contexts to retrieve the window when dispaching events --- src/application.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/application.h') diff --git a/src/application.h b/src/application.h index 2bc130f..6671272 100644 --- a/src/application.h +++ b/src/application.h @@ -4,6 +4,8 @@ #define __CHERRY_APPLICATION_H__ #include +#include +#include #include typedef struct CherryApplication { @@ -14,6 +16,7 @@ typedef struct CherryApplication { int screen; int depth; Visual *visual; + XContext context; void (*listener_activate)(struct CherryApplication *, void *); void *listener_activate_data; -- cgit v1.2.3