aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/xevents.h
diff options
context:
space:
mode:
authorFilip Wandzio <contact@philw.dev>2025-12-30 02:45:11 +0100
committerFilip Wandzio <contact@philw.dev>2025-12-30 02:45:11 +0100
commit4c90d1d9e4092f9ee0106d316829144653a276ea (patch)
treecba5e7697a1334da068c5fa5e5951e00696fb903 /src/x11/xevents.h
parent11b1ff4691ff3e0f8346e7431fa3f90cc846fc5d (diff)
downloaddwm-4c90d1d9e4092f9ee0106d316829144653a276ea.tar.gz
dwm-4c90d1d9e4092f9ee0106d316829144653a276ea.zip
Split monolithic dwm.h into modular headers and group them by it's functionalities
The new plan of refactoring this project is to split entire monolithic codebase into separate, (kind of) independent modules. This will help with understanding the code by turning off modules and deciding which ones require some work. Signed-off-by: Filip Wandzio <contact@philw.dev>
Diffstat (limited to '')
-rw-r--r--src/x11/xevents.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/x11/xevents.h b/src/x11/xevents.h
new file mode 100644
index 0000000..98129bb
--- /dev/null
+++ b/src/x11/xevents.h
@@ -0,0 +1,25 @@
1
2#pragma once
3
4#include <X11/Xlib.h>
5
6void run(void);
7void scan(void);
8
9void buttonpress(XEvent *e);
10void keypress(XEvent *e);
11void maprequest(XEvent *e);
12void configurerequest(XEvent *e);
13void configurenotify(XEvent *e);
14void destroynotify(XEvent *e);
15void unmapnotify(XEvent *e);
16void clientmessage(XEvent *e);
17void propertynotify(XEvent *e);
18void resizerequest(XEvent *e);
19void mappingnotify(XEvent *e);
20void motionnotify(XEvent *e);
21void enternotify(XEvent *e);
22void focusin(XEvent *e);
23void expose(XEvent *e);
24
25extern void (*handler[LASTEvent])(XEvent *);