diff options
author | uint23 <[email protected]> | 2025-04-16 12:23:41 +0100 |
---|---|---|
committer | uint23 <[email protected]> | 2025-04-16 12:23:41 +0100 |
commit | 27077232095c5c9142eb831274516b14ada0a85f (patch) | |
tree | 7b5b46a3fe705d8351554db4278e5818162c78de /src/sxwm.c | |
parent | e59188201b7e6eeaba95b196a21ba2ec1a374923 (diff) |
changed client type
Diffstat (limited to 'src/sxwm.c')
-rw-r--r-- | src/sxwm.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -24,6 +24,7 @@ typedef void (*EventHandler)(XEvent *); +static void add_client(Window w); static unsigned int clean_mask(unsigned int mask); static void hdl_dummy(XEvent *xev); static void hdl_config_req(XEvent *xev); @@ -41,7 +42,7 @@ static void spawn(const char **cmd); static int xerr(Display *dpy, XErrorEvent *ee); static void xev_case(XEvent *xev); -static Client clients[MAXCLIENTS] = {0}; +static Client *clients = NULL; static EventHandler evtable[LASTEvent]; static Display *dpy; static Window root; @@ -53,6 +54,11 @@ static unsigned int scr_height; #include "usercfg.h" +static void +add_client(Window w) +{ +} + static unsigned int clean_mask(unsigned int mask) { |