1
0
mirror of https://github.com/gryf/tabbedalt.git synced 2025-12-17 19:40:31 +01:00

Re-add callback on_resize_all_windows.

Without it, maximized urxvt window may contain inner border.
This commit is contained in:
2022-02-22 16:47:48 +01:00
parent 2f976ecb96
commit 305dc95b3e

View File

@@ -336,6 +336,15 @@ sub configure {
); );
} }
# this is needed just to properly resize terminal to fill available space
# without it Window Maker will make window smaller then required, therefore
# we'll get ugly border.
_on resize_all_windows => sub {
my ($self, $width, $height) = @_;
1
};
sub copy_properties { sub copy_properties {
my ($self) = @_; my ($self) = @_;
my $tab = $self->{cur}; my $tab = $self->{cur};