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

Comparing rxvt-unicode/src/rxvttoolkit.C (file contents):
Revision 1.106 by sf-exg, Mon Feb 22 09:47:41 2010 UTC vs.
Revision 1.107 by sf-exg, Wed Mar 31 13:14:51 2010 UTC

464 XUnloadFont (dpy, f); 464 XUnloadFont (dpy, f);
465#endif 465#endif
466 466
467 int fd = XConnectionNumber (dpy); 467 int fd = XConnectionNumber (dpy);
468 468
469 // try to detect wether we have a local connection. 469 // try to detect whether we have a local connection.
470 // assume unix domain socket == local, everything else not 470 // assume unix domain socket == local, everything else not
471 // TODO: might want to check for inet/127.0.0.1 471 // TODO: might want to check for inet/127.0.0.1
472 is_local = 0; 472 is_local = 0;
473 sockaddr_un sa; 473 sockaddr_un sa;
474 socklen_t sl = sizeof (sa); 474 socklen_t sl = sizeof (sa);
488} 488}
489 489
490void 490void
491rxvt_display::ref_next () 491rxvt_display::ref_next ()
492{ 492{
493 // TODO: somehow check wether the database files/resources changed 493 // TODO: somehow check whether the database files/resources changed
494 // before affording re-loading/parsing 494 // before affording re-loading/parsing
495 XrmDestroyDatabase (XrmGetDatabase (dpy)); 495 XrmDestroyDatabase (XrmGetDatabase (dpy));
496 XrmSetDatabase (dpy, get_resources (true)); 496 XrmSetDatabase (dpy, get_resources (true));
497} 497}
498 498

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines