Hello all,
while using the tabbing extension i noticed a bug: When switching tabs
all properties of the swallowed urxvt window where assigned to the main urxvt
window - including the _XEMBED_INFO . This is absolutely wrong and leads to
problems when the window manager is restarted while running urxvt windows with
tabs: The urxvt windows appear without any border or any window manager
control.
Please answer directly as i'm not assigned to the list.
Keep up the good work! :)
Greets,
Brian 'morlenxus' Miculcy
--- /tmp/tabbed.old 2010-03-06 04:42:15.000000000 +0100
+++ /usr/lib/urxvt/perl/tabbed 2010-03-06 04:41:08.000000000 +0100
@@ -119,11 +119,13 @@
my $cur = delete $current->{$atom};
- # update if changed, we assume empty items and zero type and format will not happen
- $self->XChangeProperty ($self->parent, $atom, $type, $format, $items)
+ if ($atom != 447) # don't set _XEMBED_INFO on main window!
+ {
+ # update if changed, we assume empty items and zero type and format will not happen
+ $self->XChangeProperty ($self->parent, $atom, $type, $format, $items)
if $cur->[0] != $type or $cur->[1] != $format or $cur->[2] ne $items;
-
- $self->{current_properties}{$atom} = [$type, $format, $items];
+ $self->{current_properties}{$atom} = [$type, $format, $items];
+ }
}
# pass 2, delete all extraneous properties
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode