summaryrefslogtreecommitdiff
path: root/src/sxwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sxwm.h')
-rw-r--r--src/sxwm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sxwm.h b/src/sxwm.h
index cb6286c..f1ef7e5 100644
--- a/src/sxwm.h
+++ b/src/sxwm.h
@@ -1,10 +1,13 @@
#ifndef SXWM_H
#define SXWM_H
+#include <stdio.h>
#include <string.h>
#include <err.h>
#include <X11/Xlib.h>
+#include "user.config"
+
#define SXWM_VERSION "sxwm ver. 0.1.0"
#define SXWM_AUTHOR "(C) Abhinav Prasai 2025"
#define SXWM_LICINFO "See LICENSE for more info"
@@ -13,8 +16,11 @@
#define SUPER Mod4Mask
#define SHIFT ShiftMask
+static void otherwm(void);
+static int otherwmerr(Display *dpy, XErrorEvent *ee);
static void run(void);
static void setup(void);
+static int xerr(Display *dpy, XErrorEvent *ee);
static Display *dpy;
static Window root;