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.22 by pcg, Sat Jan 31 00:20:21 2004 UTC vs.
Revision 1.23 by pcg, Sat Jan 31 03:18:43 2004 UTC

1/*--------------------------------*-C-*---------------------------------* 1/*--------------------------------*-C-*---------------------------------*
2 * File: main.c 2 * File: main.c
3 *----------------------------------------------------------------------* 3 *----------------------------------------------------------------------*
4 * $Id: main.C,v 1.22 2004/01/31 00:20:21 pcg Exp $ 4 * $Id: main.C,v 1.23 2004/01/31 03:18:43 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>
1173 set_color (&fg, &bg); 1173 set_color (&fg, &bg);
1174 1174
1175 preedit_attr = XVaCreateNestedList(0, XNArea, &rect, 1175 preedit_attr = XVaCreateNestedList(0, XNArea, &rect,
1176 XNSpotLocation, &spot, 1176 XNSpotLocation, &spot,
1177 XNForeground, fg, XNBackground, bg, 1177 XNForeground, fg, XNBackground, bg,
1178 //XNFontSet, TermWin.fontset, 1178 //XNFontSet, TermWin.fontset,
1179 NULL); 1179 NULL);
1180 } else if (input_style & XIMPreeditArea) { 1180 } else if (input_style & XIMPreeditArea) {
1181 set_color (&fg, &bg); 1181 set_color (&fg, &bg);
1182 1182
1183 /* 1183 /*
1188 1188
1189 set_preedit_area(&rect, &status_rect, &needed_rect); 1189 set_preedit_area(&rect, &status_rect, &needed_rect);
1190 1190
1191 preedit_attr = XVaCreateNestedList(0, XNArea, &rect, 1191 preedit_attr = XVaCreateNestedList(0, XNArea, &rect,
1192 XNForeground, fg, XNBackground, bg, 1192 XNForeground, fg, XNBackground, bg,
1193 //XNFontSet, TermWin.fontset, 1193 //XNFontSet, TermWin.fontset,
1194 NULL); 1194 NULL);
1195 status_attr = XVaCreateNestedList(0, XNArea, &status_rect, 1195 status_attr = XVaCreateNestedList(0, XNArea, &status_rect,
1196 XNForeground, fg, XNBackground, bg, 1196 XNForeground, fg, XNBackground, bg,
1197 //XNFontSet, TermWin.fontset, 1197 //XNFontSet, TermWin.fontset,
1198 NULL); 1198 NULL);
1199 } 1199 }
1200 Input_Context = XCreateIC(xim, XNInputStyle, input_style, 1200 Input_Context = XCreateIC(xim, XNInputStyle, input_style,
1201 XNClientWindow, TermWin.parent[0], 1201 XNClientWindow, TermWin.parent[0],
1202 XNFocusWindow, TermWin.parent[0], 1202 XNFocusWindow, TermWin.parent[0],

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines