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

Comparing rxvt-unicode/src/perl/tabbed (file contents):
Revision 1.16 by root, Sat Feb 11 01:58:28 2006 UTC vs.
Revision 1.17 by root, Sat Feb 11 02:01:16 2006 UTC

89sub copy_properties { 89sub copy_properties {
90 my ($self) = @_; 90 my ($self) = @_;
91 my $tab = $self->{cur}; 91 my $tab = $self->{cur};
92 92
93 my $wm_normal_hints = $self->XInternAtom ("WM_NORMAL_HINTS"); 93 my $wm_normal_hints = $self->XInternAtom ("WM_NORMAL_HINTS");
94 my $wm_state = $self->XInternAtom ("WM_STATE");
95 94
96 my %our_props = map +($_ => undef), $self->XListProperties ($self->parent); 95 my %our_props = map +($_ => undef), $self->XListProperties ($self->parent);
97 96
98 delete $our_props{$wm_state}; 97 delete $our_props{$self->XInternAtom ($_)} for qw(WM_STATE WM_ICON_SIZE);
99 98
100 for my $atom ($tab->XListProperties ($tab->parent)) { 99 for my $atom ($tab->XListProperties ($tab->parent)) {
101 my ($type, $format, $items) = $self->XGetWindowProperty ($tab->parent, $atom); 100 my ($type, $format, $items) = $self->XGetWindowProperty ($tab->parent, $atom);
102 101
103 delete $our_props{$atom}; 102 delete $our_props{$atom};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines