diff options
author | 2023-05-22 00:24:36 +0200 | |
---|---|---|
committer | 2023-05-22 00:24:36 +0200 | |
commit | b6d3f5a78e3ac4e517608fe51e37d5a7a0e35f61 (patch) | |
tree | ca578ea9d179907444e8cabb5b074a92c6e93ec5 /src/application.h | |
parent | 03911f18bdb58c5aa1cc7c992574d68b61dc1d1c (diff) | |
download | cherry-b6d3f5a78e3ac4e517608fe51e37d5a7a0e35f61.tar.gz cherry-b6d3f5a78e3ac4e517608fe51e37d5a7a0e35f61.zip |
Add contexts to retrieve the window when
dispaching events
Diffstat (limited to 'src/application.h')
-rw-r--r-- | src/application.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <X11/Xlib.h> +#include <X11/Xutil.h> +#include <X11/Xresource.h> #include <utils.h> 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; |