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

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.23 by pcg, Sat Jan 31 03:18:43 2004 UTC vs.
Revision 1.25 by pcg, Sat Jan 31 03:27:45 2004 UTC

1/*--------------------------------*-C-*---------------------------------* 1/*--------------------------------*-C-*---------------------------------*
2 * File: main.c 2 * File: main.c
3 *----------------------------------------------------------------------* 3 *----------------------------------------------------------------------*
4 * $Id: main.C,v 1.23 2004/01/31 03:18:43 pcg Exp $
5 * 4 *
6 * All portions of code are copyright by their respective author/s. 5 * 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> 6 * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk>
8 * - original version 7 * - original version
9 * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> 8 * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com>
1173 set_color (&fg, &bg); 1172 set_color (&fg, &bg);
1174 1173
1175 preedit_attr = XVaCreateNestedList(0, XNArea, &rect, 1174 preedit_attr = XVaCreateNestedList(0, XNArea, &rect,
1176 XNSpotLocation, &spot, 1175 XNSpotLocation, &spot,
1177 XNForeground, fg, XNBackground, bg, 1176 XNForeground, fg, XNBackground, bg,
1178 //XNFontSet, TermWin.fontset, 1177 //XNFontSet, TermWin.fontset,
1179 NULL); 1178 NULL);
1180 } else if (input_style & XIMPreeditArea) { 1179 } else if (input_style & XIMPreeditArea) {
1181 set_color (&fg, &bg); 1180 set_color (&fg, &bg);
1182 1181
1183 /* 1182 /*
1188 1187
1189 set_preedit_area(&rect, &status_rect, &needed_rect); 1188 set_preedit_area(&rect, &status_rect, &needed_rect);
1190 1189
1191 preedit_attr = XVaCreateNestedList(0, XNArea, &rect, 1190 preedit_attr = XVaCreateNestedList(0, XNArea, &rect,
1192 XNForeground, fg, XNBackground, bg, 1191 XNForeground, fg, XNBackground, bg,
1193 //XNFontSet, TermWin.fontset, 1192 //XNFontSet, TermWin.fontset,
1194 NULL); 1193 NULL);
1195 status_attr = XVaCreateNestedList(0, XNArea, &status_rect, 1194 status_attr = XVaCreateNestedList(0, XNArea, &status_rect,
1196 XNForeground, fg, XNBackground, bg, 1195 XNForeground, fg, XNBackground, bg,
1197 //XNFontSet, TermWin.fontset, 1196 //XNFontSet, TermWin.fontset,
1198 NULL); 1197 NULL);
1199 } 1198 }
1200 Input_Context = XCreateIC(xim, XNInputStyle, input_style, 1199 Input_Context = XCreateIC(xim, XNInputStyle, input_style,
1201 XNClientWindow, TermWin.parent[0], 1200 XNClientWindow, TermWin.parent[0],
1202 XNFocusWindow, TermWin.parent[0], 1201 XNFocusWindow, TermWin.parent[0],

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines