comparison main.c @ 716:4ce65f61f01b 3.2

renamed activescreen into selscreen
author Anselm R. Garbe <arg@suckless.org>
date Tue, 23 Jan 2007 17:12:15 +0100
parents 7034ee0f48d6
children d99be681d502
comparison
equal deleted inserted replaced
715:5b3e4cdb6674 716:4ce65f61f01b
21 Bool *seltag; 21 Bool *seltag;
22 int bh, bmw, screen, sx, sy, sw, sh, wax, way, waw, wah; 22 int bh, bmw, screen, sx, sy, sw, sh, wax, way, waw, wah;
23 unsigned int master, nmaster, ntags, numlockmask; 23 unsigned int master, nmaster, ntags, numlockmask;
24 Atom wmatom[WMLast], netatom[NetLast]; 24 Atom wmatom[WMLast], netatom[NetLast];
25 Bool running = True; 25 Bool running = True;
26 Bool activescreen = True; 26 Bool selscreen = True;
27 Client *clients = NULL; 27 Client *clients = NULL;
28 Client *sel = NULL; 28 Client *sel = NULL;
29 Client *stack = NULL; 29 Client *stack = NULL;
30 Cursor cursor[CurLast]; 30 Cursor cursor[CurLast];
31 Display *dpy; 31 Display *dpy;
154 /* pixmap for everything */ 154 /* pixmap for everything */
155 dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, screen)); 155 dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, screen));
156 dc.gc = XCreateGC(dpy, root, 0, 0); 156 dc.gc = XCreateGC(dpy, root, 0, 0);
157 XSetLineAttributes(dpy, dc.gc, 1, LineSolid, CapButt, JoinMiter); 157 XSetLineAttributes(dpy, dc.gc, 1, LineSolid, CapButt, JoinMiter);
158 /* multihead support */ 158 /* multihead support */
159 activescreen = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask); 159 selscreen = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask);
160 } 160 }
161 161
162 /* 162 /*
163 * Startup Error handler to check if another window manager 163 * Startup Error handler to check if another window manager
164 * is already running. 164 * is already running.