200 static int xerrorstart(Display *dpy, XErrorEvent *ee); |
200 static int xerrorstart(Display *dpy, XErrorEvent *ee); |
201 static void zoom(const Arg *arg); |
201 static void zoom(const Arg *arg); |
202 |
202 |
203 /* variables */ |
203 /* variables */ |
204 static char stext[256]; |
204 static char stext[256]; |
205 static int screen, sx, sy, sw, sh; |
205 static int screen; |
206 static int by, bh, blw, wx, wy, ww, wh; |
206 static int sx, sy, sw, sh; /* display geometry x, y, width, height */ |
|
207 static int by, bh, blw; /* bar geometry y, height and layout symbol width */ |
|
208 static int wx, wy, ww, wh; /* window area geometry x, y, width, height, bar excluded */ |
207 static unsigned int seltags = 0, sellt = 0; |
209 static unsigned int seltags = 0, sellt = 0; |
208 static int (*xerrorxlib)(Display *, XErrorEvent *); |
210 static int (*xerrorxlib)(Display *, XErrorEvent *); |
209 static unsigned int numlockmask = 0; |
211 static unsigned int numlockmask = 0; |
210 static void (*handler[LASTEvent]) (XEvent *) = { |
212 static void (*handler[LASTEvent]) (XEvent *) = { |
211 [ButtonPress] = buttonpress, |
213 [ButtonPress] = buttonpress, |