| 194 |
194 |
|
static int xerrorstart(Display *dsply, XErrorEvent *ee); |
| 195 |
195 |
|
static void zoom(const char *arg); |
| 202 |
200 |
|
static int screen, sx, sy, sw, sh, wax, way, waw, wah; |
| 203 |
201 |
|
static int (*xerrorxlib)(Display *, XErrorEvent *); |
| 205 |
203 |
|
static unsigned int blw = 0; |
| 207 |
204 |
|
static unsigned int ltidx = 0; /* default */ |
| 208 |
205 |
|
static unsigned int nlayouts = 0; |
| 209 |
206 |
|
static unsigned int nrules = 0; |
| 211 |
207 |
|
static unsigned int numlockmask = 0; |
| 212 |
208 |
|
static void (*handler[LASTEvent]) (XEvent *) = { |
| 213 |
209 |
|
[ButtonPress] = buttonpress, |
| 237 |
233 |
|
static Window barwin, root; |
| 238 |
234 |
|
static Regs *regs = NULL; |
| 241 |
240 |
|
eprint(const char *errstr, ...) { |
| 1806 |
1805 |
|
eprint("dwm-"VERSION", © 2006-2007 A. R. Garbe, S. van Dijk, J. Salmi, P. Hruby, S. Nagy\n"); |
| 1808 |
1807 |
|
eprint("usage: dwm [-v]\n"); |
| 1810 |
1814 |
|
if(!(dpy = XOpenDisplay(0))) |
| 1811 |
1815 |
|
eprint("dwm: cannot open display\n"); |