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.36 by pcg, Tue Feb 24 16:25:44 2004 UTC vs.
Revision 1.39 by pcg, Sun Mar 14 17:33:07 2004 UTC

394 394
395#ifndef NO_BRIGHTCOLOR 395#ifndef NO_BRIGHTCOLOR
396 colorfgbg = DEFAULT_RSTYLE; 396 colorfgbg = DEFAULT_RSTYLE;
397#endif 397#endif
398 398
399#if defined (HOTKEY_CTRL) || defined (HOTKEY_META)
400 ks_bigfont = XK_greater;
401 ks_smallfont = XK_less;
402#endif
403
404 refresh_limit = 1; 399 refresh_limit = 1;
405 refresh_type = SLOW_REFRESH; 400 refresh_type = SLOW_REFRESH;
406 prev_nrow = prev_ncol = 0; 401 prev_nrow = prev_ncol = 0;
407 402
408 oldcursor.row = oldcursor.col = -1; 403 oldcursor.row = oldcursor.col = -1;
591 rs[Rs_print_pipe] = PRINTPIPE; 586 rs[Rs_print_pipe] = PRINTPIPE;
592#endif 587#endif
593 588
594 if (!rs[Rs_cutchars]) 589 if (!rs[Rs_cutchars])
595 rs[Rs_cutchars] = CUTCHARS; 590 rs[Rs_cutchars] = CUTCHARS;
596
597#ifdef ACS_ASCII
598 if (!rs[Rs_acs_chars])
599 rs[Rs_acs_chars] = ACS_CHARS;
600 if ((i = STRLEN (rs[Rs_acs_chars])) < 0x20)
601 {
602 val = rxvt_realloc ((void *)rs[Rs_acs_chars], 0x20);
603 for (; i < 0x20; )
604 val[i] = ' ';
605 rs[Rs_acs_chars] = val;
606 }
607#endif
608 591
609#ifndef NO_BACKSPACE_KEY 592#ifndef NO_BACKSPACE_KEY
610 if (!rs[Rs_backspace_key]) 593 if (!rs[Rs_backspace_key])
611# ifdef DEFAULT_BACKSPACE 594# ifdef DEFAULT_BACKSPACE
612 key_backspace = DEFAULT_BACKSPACE; 595 key_backspace = DEFAULT_BACKSPACE;
1167 1150
1168 xterm_seq (XTerm_title, rs[Rs_title], CHAR_ST); 1151 xterm_seq (XTerm_title, rs[Rs_title], CHAR_ST);
1169 xterm_seq (XTerm_iconName, rs[Rs_iconName], CHAR_ST); 1152 xterm_seq (XTerm_iconName, rs[Rs_iconName], CHAR_ST);
1170 1153
1171 classHint.res_name = (char *)rs[Rs_name]; 1154 classHint.res_name = (char *)rs[Rs_name];
1172 classHint.res_class = (char *)APL_CLASS; 1155 classHint.res_class = (char *)RESCLASS;
1173 1156
1174 wmHint.flags = (InputHint | StateHint | WindowGroupHint); 1157 wmHint.flags = (InputHint | StateHint | WindowGroupHint);
1175 wmHint.input = True; 1158 wmHint.input = True;
1176 wmHint.initial_state = (Options & Opt_iconic ? IconicState 1159 wmHint.initial_state = (Options & Opt_iconic ? IconicState
1177 : NormalState); 1160 : NormalState);
1240 1223
1241#if defined(MENUBAR) && (MENUBAR_MAX > 1) 1224#if defined(MENUBAR) && (MENUBAR_MAX > 1)
1242 if (menuBar_height ()) 1225 if (menuBar_height ())
1243 { 1226 {
1244 menuBar.win = XCreateSimpleWindow (display->display, TermWin.parent[0], 1227 menuBar.win = XCreateSimpleWindow (display->display, TermWin.parent[0],
1245 window_vt_x, 0, 1228 window_vt_x, 0,
1246 TermWin_TotalWidth (), 1229 TermWin_TotalWidth (),
1247 menuBar_TotalHeight (), 1230 menuBar_TotalHeight (),
1248 0, 1231 0,
1249 PixColors[Color_fg], 1232 PixColors[Color_fg],
1250 PixColors[Color_scroll]); 1233 PixColors[Color_scroll]);
1251 1234
1252#ifdef DEBUG_X 1235#ifdef DEBUG_X
1253 XStoreName (display->display, menuBar.win, "menubar"); 1236 XStoreName (display->display, menuBar.win, "menubar");
1254#endif 1237#endif
1255 1238

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines