diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_gtk.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm index 7e31acf04..6c3f54873 100644 --- a/perl-install/install_gtk.pm +++ b/perl-install/install_gtk.pm @@ -361,7 +361,7 @@ sub test_mouse { my ($mouse) = @_; my $w = my_gtk->new; - my ($width, $height, $offset) = (210, round_up($::windowheight - 150, 6), 25); + my ($width, $height, $offset) = (210, round_up(min(350, $::windowheight - 150), 6), 25); my ($bw, $bh) = ($width / 3, $height / 3); gtkadd($w->{window}, |