summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/ugtk2.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index b16e682bd..b7d3c63fd 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -943,6 +943,11 @@ sub _create_window {
widget_name => 'Title',
position_policy => !$::isInstall && !$::isStandalone ? 'center_always' : 'center-on-parent',
if_(!$::isInstall, icon_no_error => wm_icon()),
+
+ if_($::isInstall, position => [
+ $::rootwidth - ($::windowwidth + $::real_windowwidth) / 2,
+ $::logoheight + ($::windowheight - $::real_windowheight) / 2,
+ ]),
%options);
if ($force_focus) {