summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/mygtk2.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 04bf42ab9..37b148d37 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,4 +1,6 @@
- center sub dialogs
+- prevent flickering by:
+ o ignoring bogus size-allocate events
- stop reducing help & release notes dialogs' size
Version 11.17 - 19 August 2008
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 9289285d0..5a24de514 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -1033,6 +1033,7 @@ 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));