From 077d0af5d6b3adb6731142d54057b235399081e7 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 4 Nov 2008 13:28:40 +0000 Subject: [PATCH] *** empty log message *** --- Changes | 2 ++ src/main.C | 6 ++++++ src/screen.C | 1 - 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index be34cd11..4d1106f7 100644 --- a/Changes +++ b/Changes @@ -27,6 +27,8 @@ TODO: artificially enlargen wide characters at end to correctly cut&paste. TODO: cursor over overlays, when focus change? - the aterm code now frees the as visual and image manager objects when a window was closed. + - do not (wrongly) adjust the virtual line length inside + scr_insdel_chars/ERASE (Miroslav Lichvar). - remove bogus "setuid/setgid security issues" from rxvt.1.pod, they no longer apply. - the urgency hint is now cleared on both focus in and focus out. diff --git a/src/main.C b/src/main.C index a94cb295..c08e2ba7 100644 --- a/src/main.C +++ b/src/main.C @@ -229,6 +229,12 @@ rxvt_term::~rxvt_term () #ifdef HAVE_BG_PIXMAP bgPixmap.destroy (); #endif +#ifdef HAVE_AFTERIMAGE + if (asv) + destroy_asvisual (asv, 0); + if (asimman) + destroy_image_manager (asimman, 0); +#endif if (display) { diff --git a/src/screen.C b/src/screen.C index a9a0415c..3fe37b46 100644 --- a/src/screen.C +++ b/src/screen.C @@ -1499,7 +1499,6 @@ rxvt_term::scr_insdel_chars (int count, int insdel) NOTHROW selection_check (1); screen.cur.col -= count; - line->l = max (line->l - count, 0); scr_blank_line (*line, screen.cur.col, count, rstyle); break; -- 2.34.1