-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.h
More file actions
30 lines (26 loc) · 1.27 KB
/
variables.h
File metadata and controls
30 lines (26 loc) · 1.27 KB
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
28
29
30
#pragma once
#include "drw.h"
#include "nwm.h"
extern Systray* systray; // systray
extern const char broken[]; // mark for broken clients
extern char stext[1024]; // text in a statusbar
extern int screen; // screen
extern unsigned screenw, screenh; // X display screen geometry
extern unsigned barh, barw; // bar geometry
extern unsigned tabh; // tab bar geometry
extern int lrpad; // sum of left and right padding for text
extern int (*xerrorxlib)(Display*, XErrorEvent*);
extern Atom wmatom[WMLast]; // wm-specific atoms
extern Atom netatom[NetLast]; // _NET atoms
extern Atom motifatom; // _MOTIF atom
extern Atom xatom[XLast]; // x-specific atoms
extern Bool running; // 0 means nwm stops
extern Cur* cursor[CurLast]; // used cursors
extern Clr** scheme; // colorscheme
extern Display* dpy; // display of X11 session
extern Drw* drw; // drawer that draws
extern Monitor* mons; // all the monitors
extern Monitor* selmon; // selected monitor
extern Window root; // root window
extern Window wmcheckwin; // window for NetWMCheck
extern void (*handler[LASTEvent])(XEvent*);