dwm.c
changeset 1005 2acc60d6dfe2
parent 1004 9bb192795c5a
child 1007 1a33d975c9e6
equal deleted inserted replaced
1004:9bb192795c5a 1005:2acc60d6dfe2
  1416 	arrange();
  1416 	arrange();
  1417 }
  1417 }
  1418 
  1418 
  1419 void
  1419 void
  1420 setup(void) {
  1420 setup(void) {
       
  1421 	int d;
  1421 	unsigned int i, j, mask;
  1422 	unsigned int i, j, mask;
  1422 	Window w;
  1423 	Window w;
  1423 	XModifierKeymap *modmap;
  1424 	XModifierKeymap *modmap;
  1424 	XSetWindowAttributes wa;
  1425 	XSetWindowAttributes wa;
  1425 
  1426 
  1505 	XSetLineAttributes(dpy, dc.gc, 1, LineSolid, CapButt, JoinMiter);
  1506 	XSetLineAttributes(dpy, dc.gc, 1, LineSolid, CapButt, JoinMiter);
  1506 	if(!dc.font.set)
  1507 	if(!dc.font.set)
  1507 		XSetFont(dpy, dc.gc, dc.font.xfont->fid);
  1508 		XSetFont(dpy, dc.gc, dc.font.xfont->fid);
  1508 
  1509 
  1509 	/* multihead support */
  1510 	/* multihead support */
  1510 	selscreen = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask);
  1511 	selscreen = XQueryPointer(dpy, root, &w, &w, &d, &d, &d, &d, &mask);
  1511 }
  1512 }
  1512 
  1513 
  1513 void
  1514 void
  1514 spawn(const char *arg) {
  1515 spawn(const char *arg) {
  1515 	static char *shell = NULL;
  1516 	static char *shell = NULL;