--- rxvt-unicode/src/urxvt.pm 2011/12/02 09:03:43 1.203 +++ rxvt-unicode/src/urxvt.pm 2012/06/05 19:32:29 1.205 @@ -1102,7 +1102,7 @@ defined $htype or Carp::croak "unsupported hook type '$name'"; - $self->set_should_invoke ($htype, +1) + $self->modify_should_invoke_count ($htype, +1) unless exists $self->{term}{_hook}[$htype]{$pkg}; $self->{term}{_hook}[$htype]{$pkg} = $cb; @@ -1118,7 +1118,7 @@ defined $htype or Carp::croak "unsupported hook type '$name'"; - $self->set_should_invoke ($htype, -1) + $self->modify_should_invoke_count ($htype, -1) if delete $self->{term}{_hook}[$htype]{$pkg}; } } @@ -1631,6 +1631,10 @@ $term->vt_emask_add (urxvt::PointerMotionMask); +=item $term->set_urgency ($set) + +Enable/disable the urgency hint on the toplevel window. + =item $term->focus_in =item $term->focus_out