ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/init.C
(Generate patch)

Comparing rxvt-unicode/src/init.C (file contents):
Revision 1.17 by pcg, Mon Jan 19 17:26:43 2004 UTC vs.
Revision 1.18 by pcg, Tue Jan 20 01:35:39 2004 UTC

1/*--------------------------------*-C-*---------------------------------* 1/*--------------------------------*-C-*---------------------------------*
2 * File: init.c 2 * File: init.c
3 *----------------------------------------------------------------------* 3 *----------------------------------------------------------------------*
4 * $Id: init.C,v 1.17 2004/01/19 17:26:43 pcg Exp $ 4 * $Id: init.C,v 1.18 2004/01/20 01:35:39 pcg Exp $
5 * 5 *
6 * All portions of code are copyright by their respective author/s. 6 * All portions of code are copyright by their respective author/s.
7 * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk> 7 * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk>
8 * - original version 8 * - original version
9 * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> 9 * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com>
1184 */ 1184 */
1185 1185
1186#ifdef PREFER_24BIT 1186#ifdef PREFER_24BIT
1187 attributes.background_pixel = PixColors[Color_fg]; 1187 attributes.background_pixel = PixColors[Color_fg];
1188 attributes.border_pixel = PixColors[Color_border]; 1188 attributes.border_pixel = PixColors[Color_border];
1189 attributes.colormap = XCMAP; 1189 attributes.colormap = Xcmap;
1190 TermWin.parent[0] = XCreateWindow (Xdisplay, DefaultRootWindow (Xdisplay), 1190 TermWin.parent[0] = XCreateWindow (Xdisplay, DefaultRootWindow (Xdisplay),
1191 szHint.x, szHint.y, 1191 szHint.x, szHint.y,
1192 szHint.width, szHint.height, 1192 szHint.width, szHint.height,
1193 TermWin.ext_bwidth, 1193 TermWin.ext_bwidth,
1194 XDEPTH, InputOutput, 1194 Xdepth, InputOutput,
1195 XVISUAL, 1195 Xvisual,
1196 CWBackPixel | CWBorderPixel 1196 CWBackPixel | CWBorderPixel
1197 | CWColormap, &attributes); 1197 | CWColormap, &attributes);
1198#else 1198#else
1199 TermWin.parent[0] = XCreateSimpleWindow (Xdisplay, DefaultRootWindow (Xdisplay), 1199 TermWin.parent[0] = XCreateSimpleWindow (Xdisplay, DefaultRootWindow (Xdisplay),
1200 szHint.x, szHint.y, 1200 szHint.x, szHint.y,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines