From eb696ca9c5642a722f892d88c261b46d97fbc07c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 21 Aug 2008 17:00:11 +0000 Subject: remove 2 hacks: - it seems the ->show is unneeded - and then the special case for 200x200 window is no more needed --- perl-install/mygtk2.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index fbc74a82e..657e89d49 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -1033,13 +1033,10 @@ sub _create_Window { return if $w_size[2] < 5; return if $w_size[2] == $wi && $w_size[3] == $he; #BUG (undef, undef, $wi, $he) = @w_size; - return if $wi <= 200 && $he <= 200; $w->move(max(0, $::rootwidth - ($::o->{windowwidth} + $wi) / 2), max(0, ($::o->{windowheight} - $he) / 2)); }); - #- without this, the focus is broken during install, though this is not needed during X test, why?? - $w->show; } $w; -- cgit v1.2.1