dwm.c
changeset 1388 e2c23f3b3733
parent 1387 dbcd0ffca535
child 1389 b4e7c220422d
equal deleted inserted replaced
1387:dbcd0ffca535 1388:e2c23f3b3733
  1303 	for(blw = i = 0; LENGTH(layouts) > 1 && i < LENGTH(layouts); i++) {
  1303 	for(blw = i = 0; LENGTH(layouts) > 1 && i < LENGTH(layouts); i++) {
  1304 		w = TEXTW(layouts[i].symbol);
  1304 		w = TEXTW(layouts[i].symbol);
  1305 		blw = MAX(blw, w);
  1305 		blw = MAX(blw, w);
  1306 	}
  1306 	}
  1307 
  1307 
  1308 	wa.override_redirect = 1;
  1308 	wa.override_redirect = True;
  1309 	wa.background_pixmap = ParentRelative;
  1309 	wa.background_pixmap = ParentRelative;
  1310 	wa.event_mask = ButtonPressMask|ExposureMask;
  1310 	wa.event_mask = ButtonPressMask|ExposureMask;
  1311 
  1311 
  1312 	barwin = XCreateWindow(dpy, root, wx, by, ww, bh, 0, DefaultDepth(dpy, screen),
  1312 	barwin = XCreateWindow(dpy, root, wx, by, ww, bh, 0, DefaultDepth(dpy, screen),
  1313 			CopyFromParent, DefaultVisual(dpy, screen),
  1313 			CopyFromParent, DefaultVisual(dpy, screen),