repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 4b49d11937e14697466bd825e3e604df270c8320: path_to: revision_to:
commit 4b49d11937e14697466bd825e3e604df270c8320 Author: Marc LehmannDate: Thu Feb 12 01:53:25 2004 +0000 *** empty log message *** diff --git a/Changes b/Changes
--- 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
--- 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 ();
}
/* ------------------------------------------------------------------------- *
-----END OF PAGE-----