ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvttoolkit.C
(Generate patch)

Comparing rxvt-unicode/src/rxvttoolkit.C (file contents):
Revision 1.60 by root, Wed Jul 5 20:37:31 2006 UTC vs.
Revision 1.61 by root, Mon Aug 7 15:12:48 2006 UTC

579 XFlush (dpy); 579 XFlush (dpy);
580} 580}
581 581
582void rxvt_display::reg (xevent_watcher *w) 582void rxvt_display::reg (xevent_watcher *w)
583{ 583{
584 if (!w.active)
585 {
584 xw.push_back (w); 586 xw.push_back (w);
585 w->active = xw.size (); 587 w->active = xw.size ();
588 }
586} 589}
587 590
588void rxvt_display::unreg (xevent_watcher *w) 591void rxvt_display::unreg (xevent_watcher *w)
589{ 592{
590 if (w->active) 593 if (w->active)
594 {
591 xw[w->active - 1] = 0; 595 xw[w->active - 1] = 0;
596 w->active = 0;
597 }
592} 598}
593 599
594void rxvt_display::set_selection_owner (rxvt_term *owner) 600void rxvt_display::set_selection_owner (rxvt_term *owner)
595{ 601{
596 if (selection_owner && selection_owner != owner) 602 if (selection_owner && selection_owner != owner)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines