summaryrefslogtreecommitdiffstats
path: root/perl-install/install_gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_gtk.pm')
-rw-r--r--perl-install/install_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index 0cb9e8b67..29463c051 100644
--- a/perl-install/install_gtk.pm
+++ b/perl-install/install_gtk.pm
@@ -366,7 +366,7 @@ sub test_mouse {
my ($mouse) = @_;
my $w = my_gtk->new;
- my ($width, $height, $offset) = (210, 300, 25);
+ my ($width, $height, $offset) = (210, round_up($::windowheight - 150, 6), 25);
my ($bw, $bh) = ($width / 3, $height / 3);
gtkadd($w->{window},