*** empty log message ***
authorroot <root>
Mon, 7 Aug 2006 15:12:48 +0000 (15:12 +0000)
committerroot <root>
Mon, 7 Aug 2006 15:12:48 +0000 (15:12 +0000)
Changes
src/rxvttoolkit.C

diff --git a/Changes b/Changes
index 8b2455a72e76b6eefc3147e76a0cbd26b8003da5..4c1a9c657af3903cda498d983a053fea857f703a 100644 (file)
--- a/Changes
+++ b/Changes
@@ -28,6 +28,8 @@ DUMB: support tex fonts
        - fix urxvtc.1.pod: it actually claimed -pty-fd would not work. But
           it does! :->
        - rxvt_fatal() in case the locale string is too long for our static buffer.
+        - hopefully fix the crashing bug people encounter with 7.8
+          (triggered by using transparency + perl).
 
 7.8  Mon Jul 17 21:00:46 CEST 2006
        - INCOMPATIBLE CHANGE: this version will always read ~/.Xdefaults,
index ea7582656c9d249d06bc053e06e401b149907b3c..bd8102441d0e9584364472086aea06d026f94ba2 100644 (file)
@@ -581,14 +581,20 @@ void rxvt_display::flush ()
 
 void rxvt_display::reg (xevent_watcher *w)
 {
-  xw.push_back (w);
-  w->active = xw.size ();
+  if (!w.active)
+    {
+      xw.push_back (w);
+      w->active = xw.size ();
+    }
 }
 
 void rxvt_display::unreg (xevent_watcher *w)
 {
   if (w->active)
-    xw[w->active - 1] = 0;
+    {
+      xw[w->active - 1] = 0;
+      w->active = 0;
+    }
 }
 
 void rxvt_display::set_selection_owner (rxvt_term *owner)