From ea61d2bb5be7b7b76f9d71aa4f292c9c8802ad13 Mon Sep 17 00:00:00 2001 From: gryf Date: Mon, 10 Aug 2026 18:10:04 +0200 Subject: [PATCH] Skip throttling for event handling for tab_property_notify. After some experiments, it turns out, that notifications for X properties for the embedded window (i.e. tab) are not very often, but they usually send with "packs", so for example, there could be several different atoms send in short period of time, i.e.: _XEMBED_INFO WM_NORMAL_HINTS WM_NORMAL_HINTS WM_NAME _NET_WM_NAME WM_ICON_NAME _NET_WM_ICON_NAME Some of the atoms represents title change, size of window, size of the font and so on. Allow those changes to be applied. --- tabbedalt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tabbedalt b/tabbedalt index 90c8f01..59469fc 100644 --- a/tabbedalt +++ b/tabbedalt @@ -815,14 +815,6 @@ sub tab_property_notify { return () unless $event->{window} == $tab->parent; return () unless $tab == $self->{cur}; - # skip if called too often (within 0.1s) - my $now = urxvt::NOW; - my $last = $self->{last_property_update} // 0; - if ($now - $last < 0.1) { - return (); - } - $self->{last_property_update} = $now; - # update only the changed property instead of all properties my $atom = $event->{atom}; my ($type, $format, $items) = $self->XGetWindowProperty ($tab->parent, $atom);