Commit Diff


commit - b2f9ee0de55f3c59c83f479d12cfe8c894935bd7
commit + 8f5c6c7d795c78e46bdc8498d545253d91cdf769
blob - b2b3ca73e95d9e0c02ecb8a513e3d502b34902fa
blob + 741d36785153f161977f3b903b799d3d8fd21c48
--- src/libdraw/x11-init.c
+++ src/libdraw/x11-init.c
@@ -545,9 +545,6 @@ xattach(char *label)
 	if(0) fprint(2, "x: display=%p kbd=%p mouse=%p snarf=%p\n",
 		_x.display, _x.kbdcon, _x.mousecon, _x.snarfcon);
 
-	_x.black	= xscreen->black_pixel;
-	_x.white	= xscreen->white_pixel;
-
 	return _x.screenimage;
 
 err0:
blob - efd8dd7dddc2a9197a079cd03d503ec84fc45996
blob + c8d5e661b746cb4bfdd099972f0a446861d1ba87
--- src/libdraw/x11-memdraw.h
+++ src/libdraw/x11-memdraw.h
@@ -20,7 +20,6 @@ struct Xmem
 };
 
 struct Xprivate {
-	u32int		black;
 	u32int		chan;
 	XColormap	cmap;
 	XCursor		cursor;
@@ -63,7 +62,6 @@ struct Xprivate {
 	int		tox11[256];
 	int		usetable;
 	XVisual		*vis;
-	u32int		white;
 	Atom		clipboard;
 	Atom		utf8string;
 	Atom		targets;