From 38a6b6b71c1291e7dc54b2a02abb9e579b092e2b Mon Sep 17 00:00:00 2001 From: root Date: Sun, 16 Dec 2007 19:44:48 +0000 Subject: [PATCH] fix enkrypt problem --- src/main.C | 1 + src/rxvttoolkit.C | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main.C b/src/main.C index 4bf2064c..ce2eef97 100644 --- a/src/main.C +++ b/src/main.C @@ -286,6 +286,7 @@ rxvt_term::~rxvt_term () #ifdef HAVE_BG_PIXMAP bgPixmap.destroy (); #endif + display->flush (); /* ideally .put should do this */ displays.put (display); scr_release (); diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C index f35e6b98..b5324f7a 100644 --- a/src/rxvttoolkit.C +++ b/src/rxvttoolkit.C @@ -503,6 +503,7 @@ rxvt_display::~rxvt_display () XFreeCursor (dpy, blank_cursor); #endif x_ev.stop (); + flush_ev.stop (); #ifdef USE_XIM xims.clear (); #endif -- 2.34.1