[code cleanups
John Meacham <john@repetae.net>**20050725074435] {
hunk ./bitfield.h 1
+#ifndef _H_BITFIELD
+#define _H_BITFIELD
+
hunk ./bitfield.h 71
+#endif
hunk ./x11.c 20
-//static struct conn the_connection;
-
hunk ./x11.c 21
-
hunk ./x11.c 22
-/* arch-tag: 39b298f4-034c-4671-a62b-63ea8d76d3a9 */
hunk ./x11.c 206
-        //w->w = XCreateWindow(conn->dpy,RootWindowOfScreen(screen),0,0,w->width,w->height,1, DC_borderColor->pixel ,  DC_background->pixel);
hunk ./x11.c 211
-        //XSetFont(conn->dpy, w->gc, conn->fs->fid);
+
hunk ./x11.c 213
-        //printf("Opening Font: '%s'\n", opt_font ? opt_font : D_font);
hunk ./x11.c 267
-        /*
-        conn = &the_connection;
-	if((conn->dpy=XOpenDisplay(opt_display)) == NULL) {
-		fprintf(stderr,"X11 says \"I can't open display: %s\"\n", XDisplayName(opt_display));
-		exit(2);
-	}
-        XSynchronize(conn->dpy, opt_sync);
-        setup_defaults(conn->dpy, "seven");
-        intern_xatoms(conn->dpy);
-        realloc_colors(conn->dpy, CMAP);
-	//conn->fs = XLoadQueryFont(conn->dpy,D_font);
-
-        window_init(conn,&win, NULL, -1);
-        //assert(conn->fs);
-        */
hunk ./x11.c 287
-        /*
-        if (conn->fs->per_char)
-                *width = conn->fs->per_char['m'].width;
-        else
-                *width = conn->fs->min_bounds.width;
-        *height = conn->fs->ascent + conn->fs->descent;
-        */
hunk ./x11.c 288
-/*
-static void
-x11_newwindow(int argc, char *argv[])
-{
-	XClassHint *xch;
-	XWMHints *hints;
-        uint32_t pid;
hunk ./x11.c 289
-        win.w = XCreateSimpleWindow(conn->dpy,DefaultRootWindow(conn->dpy),0,0,640,480,1, DC_borderColor->pixel ,  DC_background->pixel);
-	XSelectInput(conn->dpy,win.w,StructureNotifyMask|VisibilityChangeMask);
hunk ./x11.c 290
-        xch = XAllocClassHint();
-	xch->res_name = NULL;
-	xch->res_class = opt_class;
-
-	hints = XAllocWMHints();
-	hints->window_group = win.w;
-        hints->input = true;
-	hints->flags = WindowGroupHint | StateHint | InputHint;
-        if (opt_withdrawn)
-                hints->initial_state = WithdrawnState;
-        else
-                hints->initial_state = NormalState;
-
-	XmbSetWMProperties(conn->dpy, win.w, opt_title, D_iconName, argv, argc, NULL, hints, xch);
-	XFree(xch);
-	XFree(hints);
-
-	pid = getpid();
-	XChangeProperty(conn->dpy, win.w, XA__NET_WM_PID, XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&pid, 1);
-
-	XSetWMProtocols(conn->dpy,win.w,&XA_WM_DELETE_WINDOW,1);
-
-        win.width = 640;
-        win.height = 480;
-
-        win.gc = XCreateGC(conn->dpy, win.w, 0, NULL );
-        XSetGraphicsExposures(conn->dpy, win.gc, 0);
-
-}
-*/
hunk ./x11.h 17
-//enum face_type { ft_normal, ft_bold, ft_italic, ft_bolditalic, ft_max };
-
hunk ./x11.h 64
-//#define ROOT (DefaultRootWindow(disp))
}
