repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: a37c4af9feb6407be97a5d8a8b8e6067789cb718: path_to: revision_to:
commit a37c4af9feb6407be97a5d8a8b8e6067789cb718 Author: Marc LehmannDate: Mon Aug 7 15:12:48 2006 +0000 *** empty log message *** diff --git a/Changes b/Changes
--- 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,
diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C
--- a/src/rxvttoolkit.C
+++ b/src/rxvttoolkit.C
@@ -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)
-----END OF PAGE-----