summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2002-02-07 14:51:24 +0000
committerdamien <damien@mandriva.com>2002-02-07 14:51:24 +0000
commit9a82cdd300c4d6f7f90fc796b2554a70f0db647e (patch)
treee1d723499b7bccc8a1c21a703270129ca127f118 /perl-install/my_gtk.pm
parent4d3c9f8d2ad31d02a38cfccf33281fed18103bf6 (diff)
downloaddrakx-9a82cdd300c4d6f7f90fc796b2554a70f0db647e.tar
drakx-9a82cdd300c4d6f7f90fc796b2554a70f0db647e.tar.gz
drakx-9a82cdd300c4d6f7f90fc796b2554a70f0db647e.tar.bz2
drakx-9a82cdd300c4d6f7f90fc796b2554a70f0db647e.tar.xz
drakx-9a82cdd300c4d6f7f90fc796b2554a70f0db647e.zip
fixed shadow when testing X
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 6ec6baaea..c7c10b2c1 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -892,7 +892,7 @@ sub _create_window($$) {
my ($X, $Y, $Wi, $He) = @{$my_gtk::force_center || $o->{force_center}};
$w->set_uposition(max(0, $X + ($Wi - $wi) / 2), max(0, $Y + ($He - $he) / 2));
- if (!$::isStandalone && !$::live && !$::g_auto_install) {
+ if (!$::isStandalone && !$::live && !$::g_auto_install && !$::noShadow) {
my $sqw = $my_gtk::shape_width; #square width
my $wia = int(($wi+7)/8);
my $s = "\xFF" x ($wia*$he);