diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-07-30 13:39:25 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-07-30 13:39:25 +0000 |
commit | 5fd42bb26041d9e0d51bc1c30fd30a0897afc835 (patch) | |
tree | c452cfe9021c94e1fdb2429a474a8e87453b3497 | |
parent | 2d27a5dde8c67b3b47125dbee7985cea5008f4d3 (diff) | |
download | drakx-5fd42bb26041d9e0d51bc1c30fd30a0897afc835.tar drakx-5fd42bb26041d9e0d51bc1c30fd30a0897afc835.tar.gz drakx-5fd42bb26041d9e0d51bc1c30fd30a0897afc835.tar.bz2 drakx-5fd42bb26041d9e0d51bc1c30fd30a0897afc835.tar.xz drakx-5fd42bb26041d9e0d51bc1c30fd30a0897afc835.zip |
(_create_Window) ignore weird 'size_allocate' signal that causes
flickering (we got [ 0, 0, 4, 4 ] as $event, then twice the correct
[ 0, 0, 576, 418 ] one)
-rw-r--r-- | perl-install/mygtk2.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index d57446e57..b36b1a6cd 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -992,6 +992,7 @@ sub _create_Window { $w->signal_connect(size_allocate => sub { my (undef, $event) = @_; my @w_size = $event->values; + return if $w_size[2] < 5; return if $w_size[2] == $wi && $w_size[3] == $he; #BUG (undef, undef, $wi, $he) = @w_size; |