From b4aa47efa610e211a523004642308300d5a1106d Mon Sep 17 00:00:00 2001 From: pcg Date: Thu, 12 Feb 2004 01:53:25 +0000 Subject: [PATCH] *** empty log message *** --- Changes | 2 ++ src/main.C | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Changes b/Changes index af05f30b..4e8ad577 100644 --- a/Changes +++ b/Changes @@ -6,6 +6,8 @@ startup time for new terms in rxvtd. At least xfree86 4.3 is rather broken with respect to input methods, though, so expect crashes when you kill your input method (xterm crashes, too). + - fix bugs in x flushing, causing an empty screen after startup + the first until the first event arives. 1.8 Mon Feb 2 20:09:18 CET 2004 - almost total conversion to C++. Except for introducing diff --git a/src/main.C b/src/main.C index e67b8041..0003027b 100644 --- a/src/main.C +++ b/src/main.C @@ -323,12 +323,12 @@ rxvt_Child_signal(int sig __attribute__ ((unused))) RETSIGTYPE rxvt_Exit_signal(int sig) { - signal(sig, SIG_DFL); + signal (sig, SIG_DFL); #ifdef DEBUG_CMD - rxvt_print_error("signal %d", sig); + rxvt_print_error ("signal %d", sig); #endif rxvt_clean_exit(); - kill(getpid(), sig); + kill (getpid (), sig); } /* INTPROTO */ @@ -355,7 +355,9 @@ rxvt_xerror_handler (Display *display, XErrorEvent *event) void rxvt_clean_exit () { - GET_R->destroy (); + // TODO: rxvtd should clean up all ressources + if (GET_R) + GET_R->destroy (); } /* ------------------------------------------------------------------------- * -- 2.34.1