summaryrefslogtreecommitdiff
path: root/src/sxwm.h
diff options
context:
space:
mode:
authoruint23 <[email protected]>2025-04-14 22:40:25 +0100
committeruint23 <[email protected]>2025-04-14 22:40:25 +0100
commit244556fcc7cfde9e3f404f0bbdba89e3e76ce7d8 (patch)
tree25a045640daf4a710cf497db86ec949e7f8a6b27 /src/sxwm.h
parent7883981fe9976b3933959c04fa8cc62158c70855 (diff)
fixed bad code.. :o
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;