… | |
… | |
77 | |
77 | |
78 | # this is an extremely dirty way to force a configurenotify, but who cares |
78 | # this is an extremely dirty way to force a configurenotify, but who cares |
79 | $tab->XMoveResizeWindow ( |
79 | $tab->XMoveResizeWindow ( |
80 | $tab->parent, |
80 | $tab->parent, |
81 | 0, $self->{tabheight} + 1, |
81 | 0, $self->{tabheight} + 1, |
82 | $self->width, $self->height - $self->{tabheight} |
82 | $self->width, |
|
|
83 | $self->height - $self->{tabheight} + 2 * $tab->int_bwidth |
83 | ); |
84 | ); |
84 | $tab->XMoveResizeWindow ( |
85 | $tab->XMoveResizeWindow ( |
85 | $tab->parent, |
86 | $tab->parent, |
86 | 0, $self->{tabheight}, |
87 | 0, $self->{tabheight}, |
87 | $self->width, $self->height - $self->{tabheight} |
88 | $self->width, |
|
|
89 | $self->height - $self->{tabheight} + 2 * $tab->int_bwidth |
88 | ); |
90 | ); |
89 | } |
91 | } |
90 | |
92 | |
91 | sub on_resize_all_windows { |
93 | sub on_resize_all_windows { |
92 | my ($self, $width, $height) = @_; |
94 | my ($self, $width, $height) = @_; |