summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-19 15:07:08 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-19 15:07:08 +0000
commit8d7883d32825d9e7dab40303d466628763475832 (patch)
treea3b5e81cbef8bc0f8092698f568a7b013119454c /perl-install/mygtk2.pm
parent186869f271186263eb27c12f94bf83aa249b6eb7 (diff)
downloaddrakx-backup-do-not-use-8d7883d32825d9e7dab40303d466628763475832.tar
drakx-backup-do-not-use-8d7883d32825d9e7dab40303d466628763475832.tar.gz
drakx-backup-do-not-use-8d7883d32825d9e7dab40303d466628763475832.tar.bz2
drakx-backup-do-not-use-8d7883d32825d9e7dab40303d466628763475832.tar.xz
drakx-backup-do-not-use-8d7883d32825d9e7dab40303d466628763475832.zip
(_create_Window) prevent flickering by properly computing window
position (note that $::o->{windowwidth} = $::rootwidth - $::stepswidth)
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 5a24de514..abd308d54 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -992,7 +992,7 @@ sub _create_Window {
$no_Window_Manager ? 'center-always' : 'center-on-parent',
if_($::isInstall, position => [
- $::rootwidth + $::stepswidth - ($::o->{windowwidth} + $::real_windowwidth) / 2,
+ $::stepswidth + ($::o->{windowwidth} - $::real_windowwidth) / 2,
($::o->{windowheight} - $::real_windowheight) / 2,
]),
});