diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-03-28 11:19:50 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-03-28 11:19:50 +0000 |
commit | ad54afb58edb8157c696adfbd89def9146c4b53d (patch) | |
tree | 337fefdbd91b5010d3bd8ae149bc363dabf2f533 /perl-install/install_gtk.pm | |
parent | 6b403127d06796587fc2cdc457db2037e148fdad (diff) | |
download | drakx-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.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}, |