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.170 by root, Wed Jan 11 00:59:58 2006 UTC vs.
Revision 1.172 by root, Wed Jan 11 05:14:26 2006 UTC

284 if (parent[0]) 284 if (parent[0])
285 XDestroyWindow (disp, parent[0]); 285 XDestroyWindow (disp, parent[0]);
286 } 286 }
287 287
288 // TODO: free pixcolours, colours should become part of rxvt_display 288 // TODO: free pixcolours, colours should become part of rxvt_display
289
290 delete pix_colors_focused; 289 delete pix_colors_focused;
291#if OFF_FOCUS_FADING 290#if OFF_FOCUS_FADING
292 delete pix_colors_unfocused; 291 delete pix_colors_unfocused;
293#endif 292#endif
294 293
479/*----------------------------------------------------------------------*/ 478/*----------------------------------------------------------------------*/
480bool 479bool
481rxvt_term::init (int argc, const char *const *argv) 480rxvt_term::init (int argc, const char *const *argv)
482{ 481{
483 SET_R (this); 482 SET_R (this);
483 TEMP_ENV; // few things in X do not call setlocale :(
484 484
485 set_locale (""); 485 set_locale ("");
486 486
487 if (!init_vars ()) 487 if (!init_vars ())
488 return false; 488 return false;
533 533
534 dDisp; 534 dDisp;
535 535
536 init_xlocale (); 536 init_xlocale ();
537 537
538 scr_reset (); /* initialize screen */ 538 scr_reset (); // initialize screen
539 539
540#if 0 540#if 0
541 XSynchronize (disp, True); 541 XSynchronize (disp, True);
542#endif 542#endif
543 543
1446 unsigned long fg, bg; 1446 unsigned long fg, bg;
1447 const char *p; 1447 const char *p;
1448 char **s; 1448 char **s;
1449 XIMStyles *xim_styles; 1449 XIMStyles *xim_styles;
1450 1450
1451 TEMP_ENV;
1452
1451 if (! ((p = XSetLocaleModifiers (modifiers)) && *p)) 1453 if (! ((p = XSetLocaleModifiers (modifiers)) && *p))
1452 return false; 1454 return false;
1453 1455
1454 D_MAIN ((stderr, "rxvt_IM_get_IC ()")); 1456 D_MAIN ((stderr, "rxvt_IM_get_IC ()"));
1455 input_method = display->get_xim (locale, modifiers); 1457 input_method = display->get_xim (locale, modifiers);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines