summaryrefslogtreecommitdiff
path: root/src/sxwm.h
blob: f1ef7e57aacf5aa411cd0388b69cabb8c9231cda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#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"

#define ALT     Mod1Mask
#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;
#endif