summaryrefslogtreecommitdiffstats
path: root/perl-install/install_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-28 11:19:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-28 11:19:50 +0000
commitad54afb58edb8157c696adfbd89def9146c4b53d (patch)
tree337fefdbd91b5010d3bd8ae149bc363dabf2f533 /perl-install/install_gtk.pm
parent6b403127d06796587fc2cdc457db2037e148fdad (diff)
downloaddrakx-backup-do-not-use-ad54afb58edb8157c696adfbd89def9146c4b53d.tar
drakx-backup-do-not-use-ad54afb58edb8157c696adfbd89def9146c4b53d.tar.gz
drakx-backup-do-not-use-ad54afb58edb8157c696adfbd89def9146c4b53d.tar.bz2
drakx-backup-do-not-use-ad54afb58edb8157c696adfbd89def9146c4b53d.tar.xz
drakx-backup-do-not-use-ad54afb58edb8157c696adfbd89def9146c4b53d.zip
(test_mouse): ensure the test mouse is not too big
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 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},